#[repr(C)]pub struct apu_err_t {
pub reason: *const c_char,
pub msg: *const c_char,
pub rc: c_int,
}Expand description
This structure allows the underlying API error codes to be returned along with plain text error messages that explain to us mere mortals what really happened.
Fields§
§reason: *const c_char§msg: *const c_char§rc: c_intTrait Implementations§
Auto Trait Implementations§
impl Freeze for apu_err_t
impl RefUnwindSafe for apu_err_t
impl !Send for apu_err_t
impl !Sync for apu_err_t
impl Unpin for apu_err_t
impl UnwindSafe for apu_err_t
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