#[repr(C)]pub struct stumpless_error {
pub id: stumpless_error_id,
pub message: *const c_char,
pub code: c_int,
pub code_type: *const c_char,
}Expand description
Information describing an error encountered by the library.
Fields§
§id: stumpless_error_id< error family
message: *const c_char< specific details of the failure
code: c_int< an error code possibly providing more information
code_type: *const c_char< a description of the error code
Trait Implementations§
Source§impl Clone for stumpless_error
impl Clone for stumpless_error
Source§fn clone(&self) -> stumpless_error
fn clone(&self) -> stumpless_error
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 Debug for stumpless_error
impl Debug for stumpless_error
impl Copy for stumpless_error
Auto Trait Implementations§
impl Freeze for stumpless_error
impl RefUnwindSafe for stumpless_error
impl !Send for stumpless_error
impl !Sync for stumpless_error
impl Unpin for stumpless_error
impl UnwindSafe for stumpless_error
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