pub enum Selected {
Waiting,
Aborted,
Disconnected,
Operation(Operation),
}
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)Expand description
Current state of a blocking operation.
Variants§
Waiting
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)Still waiting for an operation.
Aborted
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)The attempt to block the current thread has been aborted.
Disconnected
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)An operation became ready because a channel is disconnected.
Operation(Operation)
🔬This is a nightly-only experimental API. (
mpmc_channel
#126840)An operation became ready because a message can be sent or received.
Trait Implementations§
impl Copy for Selected
impl StructuralPartialEq for Selected
Auto Trait Implementations§
impl Freeze for Selected
impl RefUnwindSafe for Selected
impl Send for Selected
impl Sync for Selected
impl Unpin for Selected
impl UnwindSafe for Selected
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more