Enum libpulse_binding::mainloop::standard::IterateResult [−][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 IterateResult[src]
impl IterateResultpub 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 IterateResult[src]
impl Debug for IterateResultfn 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 IterateResult[src]
impl Copy for IterateResultimpl Clone for IterateResult[src]
impl Clone for IterateResultfn clone(&self) -> IterateResult[src]
fn clone(&self) -> IterateResultReturns 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 IterateResult[src]
impl PartialEq for IterateResultfn eq(&self, other: &IterateResult) -> bool[src]
fn eq(&self, other: &IterateResult) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &IterateResult) -> bool[src]
fn ne(&self, other: &IterateResult) -> boolThis method tests for !=.
impl Eq for IterateResult[src]
impl Eq for IterateResultAuto Trait Implementations
impl Send for IterateResult
impl Send for IterateResultimpl Sync for IterateResult
impl Sync for IterateResult