#[repr(C)]pub struct GError {
pub domain: u32,
pub code: c_int,
pub message: *const c_char,
}Expand description
Container for information about recoverable runtime errors.
Fields§
§domain: u32Part of the program from which the error originated.
code: c_intIdentifier for the error that occurred.
message: *const c_charHuman-readable description of the problem.
Trait Implementations§
impl Copy for GError
impl Eq for GError
impl StructuralPartialEq for GError
Auto Trait Implementations§
impl Freeze for GError
impl RefUnwindSafe for GError
impl !Send for GError
impl !Sync for GError
impl Unpin for GError
impl UnwindSafe for GError
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