#[repr(C)]pub struct LIBMTP_error_struct {
pub errornumber: LIBMTP_error_number_t,
pub error_text: *mut c_char,
pub next: *mut LIBMTP_error_t,
}Expand description
A data structure to hold errors from the library.
Fields§
§errornumber: LIBMTP_error_number_t§error_text: *mut c_char§next: *mut LIBMTP_error_tTrait Implementations§
Source§impl Clone for LIBMTP_error_struct
impl Clone for LIBMTP_error_struct
Source§fn clone(&self) -> LIBMTP_error_struct
fn clone(&self) -> LIBMTP_error_struct
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 LIBMTP_error_struct
impl Debug for LIBMTP_error_struct
impl Copy for LIBMTP_error_struct
Auto Trait Implementations§
impl Freeze for LIBMTP_error_struct
impl RefUnwindSafe for LIBMTP_error_struct
impl !Send for LIBMTP_error_struct
impl !Sync for LIBMTP_error_struct
impl Unpin for LIBMTP_error_struct
impl UnwindSafe for LIBMTP_error_struct
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