Enum libpulse_binding::stream::State [−][src]
#[repr(C)]pub enum State { Unconnected, Creating, Ready, Failed, Terminated, }
The state of a stream
Variants
UnconnectedThe stream is not yet connected to any sink or source.
CreatingThe stream is being created.
ReadyThe stream is established, you may pass audio data to it now.
FailedAn error occurred that made the stream invalid.
TerminatedThe stream has been terminated cleanly.
Methods
impl State[src]
impl StateTrait Implementations
impl Debug for State[src]
impl Debug for Statefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for State[src]
impl Copy for Stateimpl Clone for State[src]
impl Clone for Statefn clone(&self) -> State[src]
fn clone(&self) -> StateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for State[src]
impl PartialEq for Statefn eq(&self, other: &State) -> bool[src]
fn eq(&self, other: &State) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for State[src]
impl Eq for Stateimpl From<State> for pa_stream_state_t[src]
impl From<State> for pa_stream_state_timpl From<pa_stream_state_t> for State[src]
impl From<pa_stream_state_t> for Statefn from(s: pa_stream_state_t) -> Self[src]
fn from(s: pa_stream_state_t) -> SelfPerforms the conversion.