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 IterateResult
pub fn is_success(&self) -> bool
[src]
pub fn is_success(&self) -> bool
Returns true
if the result is a Success
value.
pub fn is_quit(&self) -> bool
[src]
pub fn is_quit(&self) -> bool
Returns true
if the result is a Quit
value.
pub fn is_error(&self) -> bool
[src]
pub fn is_error(&self) -> bool
Returns true
if the result is an Error
value.
Trait Implementations
impl Debug for IterateResult
[src]
impl Debug for IterateResult
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for IterateResult
[src]
impl Copy for IterateResult
impl Clone for IterateResult
[src]
impl Clone for IterateResult
fn clone(&self) -> IterateResult
[src]
fn clone(&self) -> IterateResult
Returns 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 IterateResult
fn eq(&self, other: &IterateResult) -> bool
[src]
fn eq(&self, other: &IterateResult) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for IterateResult
[src]
impl Eq for IterateResult
Auto Trait Implementations
impl Send for IterateResult
impl Send for IterateResult
impl Sync for IterateResult
impl Sync for IterateResult