Enum riot_wrappers::thread::Status
source · #[non_exhaustive]pub enum Status {
Stopped = 0,
Sleeping = 2,
MutexBlocked = 3,
ReceiveBlocked = 4,
SendBlocked = 5,
ReplyBlocked = 6,
FlagBlockedAny = 7,
FlagBlockedAll = 8,
MboxBlocked = 9,
Running = 11,
Pending = 12,
Other = 13,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stopped = 0
Sleeping = 2
MutexBlocked = 3
ReceiveBlocked = 4
SendBlocked = 5
ReplyBlocked = 6
FlagBlockedAny = 7
FlagBlockedAll = 8
MboxBlocked = 9
Running = 11
Pending = 12
Other = 13
A status value not known to riot-wrappers. Don’t match for this explicitly: Other values may, at any minor riot-wrappers update, become actual process states again.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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