pub struct SchedContextId(pub u8);Expand description
Identifier for a SchedContext registered with an Executor.
110.B.b adds storage [Option<SchedContext>; MAX_SC]; this index
addresses into that array.
Tuple Fields§
§0: u8Trait Implementations§
Source§impl Clone for SchedContextId
impl Clone for SchedContextId
Source§fn clone(&self) -> SchedContextId
fn clone(&self) -> SchedContextId
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 SchedContextId
impl Debug for SchedContextId
Source§impl Hash for SchedContextId
impl Hash for SchedContextId
Source§impl PartialEq for SchedContextId
impl PartialEq for SchedContextId
impl Copy for SchedContextId
impl Eq for SchedContextId
impl StructuralPartialEq for SchedContextId
Auto Trait Implementations§
impl Freeze for SchedContextId
impl RefUnwindSafe for SchedContextId
impl Send for SchedContextId
impl Sync for SchedContextId
impl Unpin for SchedContextId
impl UnsafeUnpin for SchedContextId
impl UnwindSafe for SchedContextId
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