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
OkNo error
AccessAccess failure
CommandUnknown command
InvalidInvalid argument
ExistEntity exists
NoEntityNo such entity
ConnectionRefusedConnection refused
ProtocolProtocol error
TimeoutAuthKeyNo authentication key
InternalConnectionTerminatedKilledEntity killed
InvalidServerModInitFailedBadStateNoDataVersionIncompatible protocol version
TooLargeData too large
NotSupportedOperation not supported
UnknownThe error code was unknown to the client
NoExtensionExtension does not exist.
ObsoleteObsolete functionality.
NotImplementedMissing implementation.
ForkedThe caller forked without calling execve() and tried to reuse the context.
IoAn IO error happened.
BusyDevice or resource busy.
Trait Implementations
impl Debug for pa_error_code_t[src]
impl Debug for pa_error_code_tfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for pa_error_code_t[src]
impl Copy for pa_error_code_timpl Clone for pa_error_code_t[src]
impl Clone for pa_error_code_tfn clone(&self) -> pa_error_code_t[src]
fn clone(&self) -> pa_error_code_tReturns 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)Performs copy-assignment from source. Read more
impl PartialEq for pa_error_code_t[src]
impl PartialEq for pa_error_code_tfn eq(&self, other: &pa_error_code_t) -> bool[src]
fn eq(&self, other: &pa_error_code_t) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for pa_error_code_t[src]
impl Eq for pa_error_code_tAuto Trait Implementations
impl Send for pa_error_code_t
impl Send for pa_error_code_timpl Sync for pa_error_code_t
impl Sync for pa_error_code_t