#[repr(C)]pub struct bw_Err {
pub code: c_uint,
pub data: *const c_void,
pub alloc_message: bw_ErrMsgFn,
}
Fields§
§code: c_uint
§data: *const c_void
§alloc_message: bw_ErrMsgFn
Trait Implementations§
Source§impl Error for bw_Err
impl Error for bw_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 bw_Err
impl Send for bw_Err
Auto Trait Implementations§
impl Freeze for bw_Err
impl RefUnwindSafe for bw_Err
impl !Sync for bw_Err
impl Unpin for bw_Err
impl UnwindSafe for bw_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