Enum message_io::network::Readiness
source · pub enum Readiness {
Write,
Read,
}
Expand description
Used for the adapter implementation. Specify the kind of event that is available for a resource.
Variants§
Write
The resource is available to write
Read
The resource is available to read (has any content to read).
Trait Implementations§
source§impl PartialEq for Readiness
impl PartialEq for Readiness
impl Copy for Readiness
impl Eq for Readiness
impl StructuralPartialEq for Readiness
Auto Trait Implementations§
impl RefUnwindSafe for Readiness
impl Send for Readiness
impl Sync for Readiness
impl Unpin for Readiness
impl UnwindSafe for Readiness
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