Enum libpulse_binding::mainloop::standard::InterateResult
[−]
[src]
pub enum InterateResult {
Success(u32),
Quit(Retval),
Err(PAErr),
}Return type for Mainloop::iterate.
Variants
Success(u32)Success, with number of sources dispatched
Quit(Retval)Quit was called, with quit's retval
Err(PAErr)An error occurred, with error value
Methods
impl InterateResult[src]
pub fn is_success(&self) -> bool[src]
Returns true if the result is a Success value.
pub fn is_quit(&self) -> bool[src]
Returns true if the result is a Quit value.
pub fn is_error(&self) -> bool[src]
Returns true if the result is an Error value.
Trait Implementations
impl Debug for InterateResult[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Copy for InterateResult[src]
impl Clone for InterateResult[src]
fn clone(&self) -> InterateResult[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
impl PartialEq for InterateResult[src]
fn eq(&self, __arg_0: &InterateResult) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &InterateResult) -> bool[src]
This method tests for !=.