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

Methods

impl PAErr[src]

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

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

Trait Implementations

impl Copy for PAErr[src]

impl PartialEq<PAErr> for PAErr[src]

impl From<Code> for PAErr[src]

impl From<PAErr> for Code[src]

impl Clone for PAErr[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for PAErr[src]

impl Display for PAErr[src]

impl Debug for PAErr[src]

Auto Trait Implementations

impl Send for PAErr

impl Sync for PAErr

Blanket Implementations

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

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

type Owned = T

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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