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

#[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, }

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

No error

Access failure

Unknown command

Invalid argument

Entity exists

No such entity

Connection refused

Protocol error

No authentication key

Entity killed

Incompatible protocol version

Data too large

Operation not supported

The error code was unknown to the client

Extension does not exist.

Obsolete functionality.

Missing implementation.

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

An IO error happened.

Device or resource busy.

Trait Implementations

impl Debug for pa_error_code_t
[src]

Formats the value using the given formatter. Read more

impl Copy for pa_error_code_t
[src]

impl Clone for pa_error_code_t
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for pa_error_code_t
[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 pa_error_code_t
[src]

Auto Trait Implementations