Struct futures_glib::IoCondition
[−]
[src]
pub struct IoCondition { /* fields omitted */ }
A bitwise combination representing a condition to watch for on an event source.
Methods
impl IoCondition
[src]
fn new() -> IoCondition
Creates a new bit set with no interest bits set.
fn input(&mut self, input: bool) -> &mut IoCondition
Flag indicating that data is ready to read.
fn output(&mut self, output: bool) -> &mut IoCondition
Flag indicating that data can be written.
fn is_hang_up(&self) -> bool
Tests whether this condition indicates hang up
fn is_input(&self) -> bool
Tests whether this condition indicates input readiness
fn is_not_open(&self) -> bool
Tests whether this condition indicates not opened
fn is_output(&self) -> bool
Tests whether this condition indicates output readiness
Trait Implementations
impl Debug for IoCondition
[src]
impl Clone for IoCondition
[src]
fn clone(&self) -> IoCondition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more