Enum x11rb::rust_connection::PollMode
source · pub enum PollMode {
Readable,
Writable,
ReadAndWritable,
}
Expand description
The kind of operation that one want to poll for.
Variants§
Readable
Check if the stream is readable, i.e. there is pending data to be read.
Writable
Check if the stream is writable, i.e. some data could be successfully written to it.
ReadAndWritable
Check for both readability and writability.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PollMode
impl Send for PollMode
impl Sync for PollMode
impl Unpin for PollMode
impl UnwindSafe for PollMode
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