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

The context hasn't been connected yet.

A connection is being established.

The client is authorizing itself to the daemon.

The client is passing its application name to the daemon.

The connection is established, the context is ready to execute operations.

The connection failed or was disconnected.

The connection was 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_context_state_t
[src]

Performs the conversion.

impl From<pa_context_state_t> for State
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for State

impl Sync for State