Enum libpulse_binding::context::State [−][src]
#[repr(C)]pub enum State { Unconnected, Connecting, Authorizing, SettingName, Ready, Failed, Terminated, }
The state of a connection context
Variants
Unconnected
The context hasn't been connected yet.
Connecting
A connection is being established.
Authorizing
The client is authorizing itself to the daemon.
SettingName
The client is passing its application name to the daemon.
Ready
The connection is established, the context is ready to execute operations.
Failed
The connection failed or was disconnected.
Terminated
The connection was terminated cleanly.
Methods
impl State
[src]
impl State
Trait Implementations
impl Debug for State
[src]
impl Debug for State
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for State
[src]
impl Copy for State
impl Clone for State
[src]
impl Clone for State
fn clone(&self) -> State
[src]
fn clone(&self) -> State
Returns 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 State
fn eq(&self, other: &State) -> bool
[src]
fn eq(&self, other: &State) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for State
[src]
impl Eq for State
impl From<State> for pa_context_state_t
[src]
impl From<State> for pa_context_state_t
impl From<pa_context_state_t> for State
[src]
impl From<pa_context_state_t> for State
fn from(s: pa_context_state_t) -> Self
[src]
fn from(s: pa_context_state_t) -> Self
Performs the conversion.