pub struct Readiness {
pub readable: bool,
pub writable: bool,
pub read_closed: bool,
pub write_closed: bool,
pub error: bool,
}Expand description
Struct reflecting the readiness of a file description.
Fields§
§readable: boolBoolean whether the file description is readable.
writable: boolBoolean whether the file description is writable.
read_closed: boolBoolean whether the read end of the file description is closed.
write_closed: boolBoolean whether the write end of the file description is closed.
error: boolBoolean whether the file description has an error.
Implementations§
Trait Implementations§
Source§impl BitOrAssign for Readiness
impl BitOrAssign for Readiness
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for Readiness
impl StructuralPartialEq for Readiness
Auto Trait Implementations§
impl DynSend for Readiness
impl DynSync for Readiness
impl Freeze for Readiness
impl RefUnwindSafe for Readiness
impl Send for Readiness
impl Sync for Readiness
impl Unpin for Readiness
impl UnsafeUnpin 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
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: 5 bytes