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]

[src]

Returns true if sink is playing: running or idle.

[src]

Returns true if sink is running.

Trait Implementations

impl Debug for SinkState
[src]

[src]

Formats the value using the given formatter.

impl Copy for SinkState
[src]

impl Clone for SinkState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SinkState
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for SinkState
[src]

impl From<pa_sink_state_t> for SinkState
[src]

[src]

Performs the conversion.