Struct libpulse_binding::error::PAErr
source · #[repr(transparent)]pub struct PAErr(pub i32);Expand description
A wrapper around integer errors returned by PulseAudio. Can be converted to a Code variant
for comparison purposes if desired.
Tuple Fields§
§0: i32Implementations§
Trait Implementations§
source§impl Error for PAErr
impl Error for PAErr
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<PAErr> for PAErr
impl PartialEq<PAErr> for PAErr
impl Copy for PAErr
impl Eq for PAErr
impl StructuralEq for PAErr
impl StructuralPartialEq for PAErr
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more