pub enum Selected {
Waiting,
Aborted,
Disconnected,
Operation(Operation),
}
Expand description
Current state of 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<Selected> for Selected
impl PartialEq<Selected> for Selected
impl Copy for Selected
impl StructuralEq for Selected
impl StructuralPartialEq for Selected
Auto Trait Implementations§
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