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

pub enum InterateResult {
    Success(u32),
    Quit(i32),
    Err(i32),
}

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 InterateResult
[src]

[src]

Returns true if the result is a Success value.

[src]

Returns true if the result is a Quit value.

[src]

Returns true if the result is an Error value.