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]

[src]

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

Trait Implementations

impl Debug for State
[src]

[src]

Formats the value using the given formatter.

impl Copy for State
[src]

impl Clone for State
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

impl From<pa_stream_state_t> for State
[src]

[src]

Performs the conversion.