Struct riot_wrappers::thread::EndToken
source · pub struct EndToken { /* private fields */ }
Expand description
Data necessary to return from a thread that has received the StartToken permissions.
This is created from the initials using TokenParts::can_end() to erase any left-over information, and certifies that no actions have been taken that forbid the thread from ever terminating (or if they have been taken, they have been undone).
Auto Trait Implementations§
impl RefUnwindSafe for EndToken
impl !Send for EndToken
impl !Sync for EndToken
impl Unpin for EndToken
impl UnwindSafe for EndToken
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