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

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

Formats the value using the given formatter. Read more

impl Copy for InterateResult
[src]

impl Clone for InterateResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations