Enum libpulse_binding::context::State
source · #[repr(C)]
pub enum State {
Unconnected,
Connecting,
Authorizing,
SettingName,
Ready,
Failed,
Terminated,
}Expand description
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.
Implementations
Trait Implementations
sourceimpl From<State> for pa_context_state_t
impl From<State> for pa_context_state_t
sourceimpl From<pa_context_state_t> for State
impl From<pa_context_state_t> for State
sourcefn from(s: pa_context_state_t) -> Self
fn from(s: pa_context_state_t) -> Self
Converts to this type from the input type.
impl Copy for State
impl Eq for State
impl StructuralEq for State
impl StructuralPartialEq for State
Auto Trait Implementations
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more