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]
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 Debug for PAErr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for PAErr
[src]
impl Clone for PAErr
[src]
fn clone(&self) -> PAErr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for PAErr
[src]
fn eq(&self, __arg_0: &PAErr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PAErr) -> bool
[src]
This method tests for !=
.
impl Eq for PAErr
[src]
impl Display for PAErr
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more