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

#[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.

Implementations

impl PAErr[src]

pub fn to_string(&self) -> Option<String>[src]

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

Trait Implementations

impl Clone for PAErr[src]

impl Copy for PAErr[src]

impl Debug for PAErr[src]

impl Display for PAErr[src]

impl Eq for PAErr[src]

impl From<Code> for PAErr[src]

impl From<PAErr> for Code[src]

impl PartialEq<PAErr> for PAErr[src]

impl StructuralEq for PAErr[src]

impl StructuralPartialEq for PAErr[src]

Auto Trait Implementations

impl RefUnwindSafe for PAErr

impl Send for PAErr

impl Sync for PAErr

impl Unpin for PAErr

impl UnwindSafe for PAErr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.