pub enum PacManagerError {
UnimplementedAction,
UnsupportedPacManager,
InternalPacManagerError(String),
}Expand description
An error which could be returned while doing an action
Variants§
Trait Implementations§
Source§impl Debug for PacManagerError
impl Debug for PacManagerError
Source§impl Display for PacManagerError
impl Display for PacManagerError
Source§impl Error for PacManagerError
impl Error for PacManagerError
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()
Auto Trait Implementations§
impl Freeze for PacManagerError
impl RefUnwindSafe for PacManagerError
impl Send for PacManagerError
impl Sync for PacManagerError
impl Unpin for PacManagerError
impl UnwindSafe for PacManagerError
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