Enum libpulse_binding::error::Code
[−]
[src]
#[repr(C)]pub enum Code { 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 errors returned by many of the underlying PulseAudio C functions.
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.
Methods
impl Code[src]
Trait Implementations
impl Debug for Code[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Copy for Code[src]
impl Clone for Code[src]
fn clone(&self) -> Code[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Code[src]
fn eq(&self, __arg_0: &Code) -> bool[src]
This 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]
This method tests for !=.