#[repr(C)]pub struct AptError {
pub is_error: bool,
pub msg: String,
}
Expand description
Representation of a single Apt Error or Warning
Fields§
§is_error: bool
§msg: String
The String version of the Error.
Trait Implementations§
Source§impl Error for AptError
impl Error for AptError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl ExternType for AptError
impl ExternType for AptError
Auto Trait Implementations§
impl Freeze for AptError
impl RefUnwindSafe for AptError
impl Send for AptError
impl Sync for AptError
impl Unpin for AptError
impl UnwindSafe for AptError
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