pub enum TaskStateKind {
Ready,
BlockedRecv,
BlockedSend,
BlockedSelect,
BlockedTimer,
BlockedAwait,
BlockedIo,
Done,
}Expand description
A public, read-only projection of a task’s scheduling state — what the Studio’s
Tasks/Channels strip renders. Mirrors the private [TaskState] without exposing the
task body or any mutable handle.
Variants§
Trait Implementations§
Source§impl Clone for TaskStateKind
impl Clone for TaskStateKind
Source§fn clone(&self) -> TaskStateKind
fn clone(&self) -> TaskStateKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaskStateKind
impl Debug for TaskStateKind
Source§impl PartialEq for TaskStateKind
impl PartialEq for TaskStateKind
Source§fn eq(&self, other: &TaskStateKind) -> bool
fn eq(&self, other: &TaskStateKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TaskStateKind
impl Eq for TaskStateKind
impl StructuralPartialEq for TaskStateKind
Auto Trait Implementations§
impl Freeze for TaskStateKind
impl RefUnwindSafe for TaskStateKind
impl Send for TaskStateKind
impl Sync for TaskStateKind
impl Unpin for TaskStateKind
impl UnsafeUnpin for TaskStateKind
impl UnwindSafe for TaskStateKind
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