Enum libpulse_binding::stream::State[][src]

#[repr(C)]
pub enum State { Unconnected, Creating, Ready, Failed, Terminated, }

The state of a stream

Variants

The stream is not yet connected to any sink or source.

The stream is being created.

The stream is established, you may pass audio data to it now.

An error occurred that made the stream invalid.

The stream has been terminated cleanly.

Methods

impl State
[src]

Returns true if the passed state is one of the connected states.

Trait Implementations

impl Debug for State
[src]

Formats the value using the given formatter. Read more

impl Copy for State
[src]

impl Clone for State
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl From<State> for pa_stream_state_t
[src]

Performs the conversion.

impl From<pa_stream_state_t> for State
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for State

impl Sync for State