pub struct CoolCommException { /* private fields */ }Expand description
通用异常
对应 TypeScript 版本的 CoolCommException
Implementations§
Trait Implementations§
Source§impl Debug for CoolCommException
impl Debug for CoolCommException
Source§impl Display for CoolCommException
impl Display for CoolCommException
Source§impl Error for CoolCommException
impl Error for CoolCommException
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 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.
Auto Trait Implementations§
impl Freeze for CoolCommException
impl RefUnwindSafe for CoolCommException
impl Send for CoolCommException
impl Sync for CoolCommException
impl Unpin for CoolCommException
impl UnsafeUnpin for CoolCommException
impl UnwindSafe for CoolCommException
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