#[repr(C)]pub struct cbw_Err {
pub code: u32,
pub data: *const c_void,
pub alloc_message: Option<unsafe extern "C" fn(u32, *const c_void) -> *mut i8>,
}
Fields§
§code: u32
§data: *const c_void
§alloc_message: Option<unsafe extern "C" fn(u32, *const c_void) -> *mut i8>
Trait Implementations§
Source§impl Error for cbw_Err
impl Error for cbw_Err
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 cbw_Err
Auto Trait Implementations§
impl Freeze for cbw_Err
impl RefUnwindSafe for cbw_Err
impl !Send for cbw_Err
impl !Sync for cbw_Err
impl Unpin for cbw_Err
impl UnwindSafe for cbw_Err
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