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
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
Timeout
AuthKey
No authentication key
Internal
ConnectionTerminated
Killed
Entity killed
InvalidServer
ModInitFailed
BadState
NoData
Version
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.
Methods
impl Code
[src]
impl Code
Trait Implementations
impl Debug for Code
[src]
impl Debug for Code
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Code
[src]
impl Copy for Code
impl Clone for Code
[src]
impl Clone for Code
fn clone(&self) -> Code
[src]
fn clone(&self) -> Code
Returns 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 Code
fn eq(&self, other: &Code) -> bool
[src]
fn eq(&self, other: &Code) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Code
[src]
impl Eq for Code
impl From<Code> for PAErr
[src]
impl From<Code> for PAErr
impl From<PAErr> for Code
[src]
impl From<PAErr> for Code