pub struct DefaultRWHandleSpec;
Expand description
The default behavior for RWHandle
.
Considers the handle readable when zx::Signals::OBJECT_READABLE
is set,
and writable when zx::Signals::OBJECT_WRITABLE
is set.
Trait Implementations§
Source§impl RWHandleSpec for DefaultRWHandleSpec
impl RWHandleSpec for DefaultRWHandleSpec
Source§const READABLE_SIGNALS: Signals = OBJECT_READABLE
const READABLE_SIGNALS: Signals = OBJECT_READABLE
Signals asserted when the handle is readable. Read more
Source§const WRITABLE_SIGNALS: Signals = OBJECT_WRITABLE
const WRITABLE_SIGNALS: Signals = OBJECT_WRITABLE
Signals asserted when the handle is writable. Read more
Auto Trait Implementations§
impl Freeze for DefaultRWHandleSpec
impl RefUnwindSafe for DefaultRWHandleSpec
impl Send for DefaultRWHandleSpec
impl Sync for DefaultRWHandleSpec
impl Unpin for DefaultRWHandleSpec
impl UnwindSafe for DefaultRWHandleSpec
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