pub enum ReadyType {
Matched,
Readable,
Writable,
Closed,
Error,
}Expand description
Type of readiness event.
Variants§
Matched
Session has data matching a pattern.
Readable
Session has data available to read.
Writable
Session is ready for writing.
Closed
Session has closed (EOF).
Error
Session encountered an error.
Trait Implementations§
impl Copy for ReadyType
impl Eq for ReadyType
impl StructuralPartialEq for ReadyType
Auto Trait Implementations§
impl Freeze for ReadyType
impl RefUnwindSafe for ReadyType
impl Send for ReadyType
impl Sync for ReadyType
impl Unpin for ReadyType
impl UnwindSafe for ReadyType
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