pub enum InstallerError {
IncompleteInfo(String),
Io(Error),
Zip(String),
Serialization(Error),
Common(CoolCommException),
}Expand description
插件安装错误
Variants§
Trait Implementations§
Source§impl Debug for InstallerError
impl Debug for InstallerError
Source§impl Display for InstallerError
impl Display for InstallerError
Source§impl Error for InstallerError
impl Error for InstallerError
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 From<CoolCommException> for InstallerError
impl From<CoolCommException> for InstallerError
Source§fn from(source: CoolCommException) -> Self
fn from(source: CoolCommException) -> Self
Converts to this type from the input type.
Source§impl From<Error> for InstallerError
impl From<Error> for InstallerError
Auto Trait Implementations§
impl !RefUnwindSafe for InstallerError
impl !UnwindSafe for InstallerError
impl Freeze for InstallerError
impl Send for InstallerError
impl Sync for InstallerError
impl Unpin for InstallerError
impl UnsafeUnpin for InstallerError
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