Enum x11rb::rust_connection::stream::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 Freeze for PollMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)