Enum libpulse_binding::def::SinkState[][src]

#[repr(C)]
pub enum SinkState { Invalid, Running, Idle, Suspended, }

Variants

This state is used when the server does not support sink state introspection.

Running, sink is playing and used by at least one non-corked sink-input.

When idle, the sink is playing but there is no non-corked sink-input attached to it.

When suspended, actual sink access can be closed, for instance.

Methods

impl SinkState
[src]

Returns true if sink is playing: running or idle.

Returns true if sink is running.

Trait Implementations

impl Debug for SinkState
[src]

Formats the value using the given formatter. Read more

impl Copy for SinkState
[src]

impl Clone for SinkState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl From<SinkState> for pa_sink_state_t
[src]

Performs the conversion.

impl From<pa_sink_state_t> for SinkState
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SinkState

impl Sync for SinkState