Enum libpulse_binding::mainloop::standard::InterateResult [−][src]
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]
impl InterateResultpub fn is_success(&self) -> bool[src]
pub fn is_success(&self) -> boolReturns true if the result is a Success value.
pub fn is_quit(&self) -> bool[src]
pub fn is_quit(&self) -> boolReturns true if the result is a Quit value.
pub fn is_error(&self) -> bool[src]
pub fn is_error(&self) -> boolReturns true if the result is an Error value.
Trait Implementations
impl Debug for InterateResult[src]
impl Debug for InterateResultfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for InterateResult[src]
impl Copy for InterateResultimpl Clone for InterateResult[src]
impl Clone for InterateResultfn clone(&self) -> InterateResult[src]
fn clone(&self) -> InterateResultReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for InterateResult[src]
impl PartialEq for InterateResultfn eq(&self, other: &InterateResult) -> bool[src]
fn eq(&self, other: &InterateResult) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &InterateResult) -> bool[src]
fn ne(&self, other: &InterateResult) -> boolThis method tests for !=.
impl Eq for InterateResult[src]
impl Eq for InterateResultAuto Trait Implementations
impl Send for InterateResult
impl Send for InterateResultimpl Sync for InterateResult
impl Sync for InterateResult