pub struct Timeout(pub k_timeout_t);Expand description
Wrapper around the timeout type, so we can implement From/Info.
This wrapper allows us to implement From and Info from the Fugit types into the Zephyr
types. This allows various methods to accept either value, as well as the Forever and
NoWait values defined here.
Tuple Fields§
§0: k_timeout_tTrait Implementations§
impl Copy for Timeout
impl Eq for Timeout
Auto Trait Implementations§
impl Freeze for Timeout
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnwindSafe for Timeout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more