Enum libpulse_binding::mainloop::standard::IterateResult[][src]

pub enum IterateResult {
    Success(u32),
    Quit(Retval),
    Err(PAErr),
}

Return type for Mainloop::iterate.

Variants

Success, with number of sources dispatched

Quit was called, with quit's retval

An error occurred, with error value

Methods

impl IterateResult
[src]

Returns true if the result is a Success value.

Returns true if the result is a Quit value.

Returns true if the result is an Error value.

Trait Implementations

impl Debug for IterateResult
[src]

Formats the value using the given formatter. Read more

impl Copy for IterateResult
[src]

impl Clone for IterateResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for IterateResult
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for IterateResult
[src]

Auto Trait Implementations