#[repr(C)]pub struct ErrorHandle(pub *const c_char);Expand description
A C-style handle to an error message.
If the handle contains a non-null pointer, an error occurred. cbindgen:field-names=[error_string]
Tuple Fields§
§0: *const c_charImplementations§
Trait Implementations§
Source§impl Clone for ErrorHandle
impl Clone for ErrorHandle
Source§fn clone(&self) -> ErrorHandle
fn clone(&self) -> ErrorHandle
Returns a duplicate 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 Default for ErrorHandle
impl Default for ErrorHandle
impl Copy for ErrorHandle
Auto Trait Implementations§
impl Freeze for ErrorHandle
impl RefUnwindSafe for ErrorHandle
impl !Send for ErrorHandle
impl !Sync for ErrorHandle
impl Unpin for ErrorHandle
impl UnwindSafe for ErrorHandle
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