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§
source§impl PartialEq for Selected
impl PartialEq for Selected
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