Enum crossbeam_channel::select::Selected
source · pub enum Selected {
Waiting,
Aborted,
Disconnected,
Operation(Operation),
}
Expand description
Current state of a select or a blocking operation.
Variants§
Waiting
Still waiting for an operation.
Aborted
The attempt to block the current thread has been aborted.
Disconnected
An operation became ready because a channel is disconnected.
Operation(Operation)
An operation became ready because a message can be sent or received.
Trait Implementations§
impl Copy for Selected
impl Eq 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)