Enum libpulse_binding::def::SourceState[][src]

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

Source state.

Variants

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

Running, source is recording and used by at least one non-corked source-output.

When idle, the source is still recording but there is no non-corked source-output.

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

Methods

impl SourceState
[src]

Returns true if source is recording: running or idle.

Returns true if source is running.

Trait Implementations

impl Debug for SourceState
[src]

Formats the value using the given formatter. Read more

impl Copy for SourceState
[src]

impl Clone for SourceState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl From<SourceState> for pa_source_state_t
[src]

Performs the conversion.

impl From<pa_source_state_t> for SourceState
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SourceState

impl Sync for SourceState