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

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.

Methods

impl Code
[src]

Convert a Code to a human readable string.

Trait Implementations

impl Debug for Code
[src]

Formats the value using the given formatter. Read more

impl Copy for Code
[src]

impl Clone for Code
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl From<Code> for PAErr
[src]

Performs the conversion.

impl From<PAErr> for Code
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Code

impl Sync for Code