pub enum BlockingIoInterest {
Read,
Write,
ReadWrite,
}Expand description
An I/O interest for a blocked thread. Note that all threads are always considered to be interested in “error” events.
Variants§
Read
The blocked thread is interested in [Interest::READABLE].
Write
The blocked thread is interested in [Interest::WRITABLE].
ReadWrite
The blocked thread is interested in [Interest::READABLE] and
[Interest::WRITABLE].
Trait Implementations§
Source§impl Clone for BlockingIoInterest
impl Clone for BlockingIoInterest
Source§fn clone(&self) -> BlockingIoInterest
fn clone(&self) -> BlockingIoInterest
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 BlockingIoInterest
impl Debug for BlockingIoInterest
impl Copy for BlockingIoInterest
Auto Trait Implementations§
impl Freeze for BlockingIoInterest
impl RefUnwindSafe for BlockingIoInterest
impl Send for BlockingIoInterest
impl Sync for BlockingIoInterest
impl Unpin for BlockingIoInterest
impl UnsafeUnpin for BlockingIoInterest
impl UnwindSafe for BlockingIoInterest
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Read: 0 bytesWrite: 0 bytesReadWrite: 0 bytes