#[repr(C)]pub struct NapiExtendedErrorInfo {
pub error_message: *const c_char,
pub engine_reserved: *mut c_void,
pub engine_error_code: u32,
pub error_code: NapiStatus,
}
Fields§
§error_message: *const c_char
§engine_reserved: *mut c_void
§engine_error_code: u32
§error_code: NapiStatus
Implementations§
Source§impl NapiExtendedErrorInfo
impl NapiExtendedErrorInfo
pub fn error_message(&self) -> &str
Trait Implementations§
Source§impl Clone for NapiExtendedErrorInfo
impl Clone for NapiExtendedErrorInfo
Source§fn clone(&self) -> NapiExtendedErrorInfo
fn clone(&self) -> NapiExtendedErrorInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NapiExtendedErrorInfo
impl Debug for NapiExtendedErrorInfo
impl Copy for NapiExtendedErrorInfo
Auto Trait Implementations§
impl Freeze for NapiExtendedErrorInfo
impl RefUnwindSafe for NapiExtendedErrorInfo
impl !Send for NapiExtendedErrorInfo
impl !Sync for NapiExtendedErrorInfo
impl Unpin for NapiExtendedErrorInfo
impl UnwindSafe for NapiExtendedErrorInfo
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