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]
impl CodeTrait Implementations
impl Debug for Code[src]
impl Debug for Codefn 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 Code[src]
impl Copy for Codeimpl Clone for Code[src]
impl Clone for Codefn clone(&self) -> Code[src]
fn clone(&self) -> CodeReturns 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 Code[src]
impl PartialEq for Codefn eq(&self, other: &Code) -> bool[src]
fn eq(&self, other: &Code) -> 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 Code[src]
impl Eq for Codeimpl From<Code> for PAErr[src]
impl From<Code> for PAErrimpl From<PAErr> for Code[src]
impl From<PAErr> for Code