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]
pub fn new() -> IoCondition
[src]
Creates a new bit set with no interest bits set.
pub fn input(&mut self, input: bool) -> &mut IoCondition
[src]
Flag indicating that data is ready to read.
pub fn output(&mut self, output: bool) -> &mut IoCondition
[src]
Flag indicating that data can be written.
pub fn is_hang_up(&self) -> bool
[src]
Tests whether this condition indicates hang up
pub fn is_input(&self) -> bool
[src]
Tests whether this condition indicates input readiness
pub fn is_not_open(&self) -> bool
[src]
Tests whether this condition indicates not opened
pub fn is_output(&self) -> bool
[src]
Tests whether this condition indicates output readiness
Trait Implementations
impl Debug for IoCondition
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for IoCondition
[src]
fn clone(&self) -> IoCondition
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more