Struct browser_window_c::cbw_Err
source · #[repr(C)]pub struct cbw_Err {
pub code: cbw_ErrCode,
pub data: *const c_void,
pub alloc_message: Option<unsafe extern "C" fn(code: cbw_ErrCode, data: *const c_void) -> *mut c_char>,
}
Fields§
§code: cbw_ErrCode
§data: *const c_void
§alloc_message: Option<unsafe extern "C" fn(code: cbw_ErrCode, data: *const c_void) -> *mut c_char>
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)>
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 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