[][src]Enum libpulse_sys::error::pa_error_code_t

#[repr(C)]
pub enum pa_error_code_t {
    Ok,
    Access,
    Command,
    Invalid,
    Exist,
    NoEntity,
    ConnectionRefused,
    Protocol,
    Timeout,
    AuthKey,
    Internal,
    ConnectionTerminated,
    Killed,
    InvalidServer,
    ModInitFailed,
    BadState,
    NoData,
    Version,
    TooLarge,
    NotSupported,
    Unknown,
    NoExtension,
    Obsolete,
    NotImplemented,
    Forked,
    Io,
    Busy,
}

Error code.

These represent the i32 error codes returned by many of the underlying PulseAudio C functions. Beware, these enum values are positive values, whilst PA functions return them in negative form, i.e. the Invalid variant here has a value of 3, while functions returning this error code return -3. (This is identical to the enum provided in the PA C API).

Variants

Ok

No error.

Access

Access failure.

Command

Unknown command.

Invalid

Invalid argument.

Exist

Entity exists.

NoEntity

No such entity.

ConnectionRefused

Connection refused.

Protocol

Protocol error.

TimeoutAuthKey

No authentication key.

InternalConnectionTerminatedKilled

Entity killed.

InvalidServerModInitFailedBadStateNoDataVersion

Incompatible protocol version.

TooLarge

Data too large.

NotSupported

Operation not supported.

Unknown

The error code was unknown to the client.

NoExtension

Extension does not exist.

Obsolete

Obsolete functionality.

NotImplemented

Missing implementation.

Forked

The caller forked without calling execve() and tried to reuse the context.

Io

An IO error happened.

Busy

Device or resource busy.

Trait Implementations

impl Clone for pa_error_code_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<pa_error_code_t> for pa_error_code_t[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Eq for pa_error_code_t[src]

impl Copy for pa_error_code_t[src]

impl Debug for pa_error_code_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]