pub enum YieldVariant {
NoWait {
ptr: *mut u8,
},
Wait,
WaitFor {
driver_number: usize,
subdriver_number: usize,
},
}Expand description
Enumeration of the yield system calls based on the Yield identifier values specified in the Tock ABI.
Variants§
Trait Implementations§
Source§impl Clone for YieldVariant
impl Clone for YieldVariant
Source§fn clone(&self) -> YieldVariant
fn clone(&self) -> YieldVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for YieldVariant
impl Debug for YieldVariant
Source§impl Display for YieldVariant
impl Display for YieldVariant
Source§impl PartialEq for YieldVariant
impl PartialEq for YieldVariant
impl Copy for YieldVariant
impl StructuralPartialEq for YieldVariant
Auto Trait Implementations§
impl Freeze for YieldVariant
impl RefUnwindSafe for YieldVariant
impl !Send for YieldVariant
impl !Sync for YieldVariant
impl Unpin for YieldVariant
impl UnsafeUnpin for YieldVariant
impl UnwindSafe for YieldVariant
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