#[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: i32
Implementations§
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)>
Returns 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()
impl Copy for PAErr
impl Eq for PAErr
impl StructuralPartialEq for PAErr
Auto Trait Implementations§
impl Freeze for PAErr
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