Struct libpulse_binding::error::PAErr[][src]

#[repr(C)]
pub struct PAErr(pub i32);

A wrapper around integer errors returned by PulseAudio. Can be converted to a Code variant for comparison purposes if desired.

Methods

impl PAErr
[src]

Convert an integer error value, as returned by many PA C API functions, to a human readable string.

Trait Implementations

impl Debug for PAErr
[src]

Formats the value using the given formatter. Read more

impl Copy for PAErr
[src]

impl Clone for PAErr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Display for PAErr
[src]

Formats the value using the given formatter. Read more

impl From<Code> for PAErr
[src]

Performs the conversion.

impl From<PAErr> for Code
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PAErr

impl Sync for PAErr