pub struct ExtcapError { /* private fields */ }
Expand description
Extcap specific error
Implementations§
Source§impl ExtcapError
impl ExtcapError
Sourcepub fn user_error<T: ToString>(msg: T) -> Self
pub fn user_error<T: ToString>(msg: T) -> Self
Create user error
Trait Implementations§
Source§impl Debug for ExtcapError
impl Debug for ExtcapError
Source§impl Display for ExtcapError
impl Display for ExtcapError
Source§impl Error for ExtcapError
impl Error for ExtcapError
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<Error> for ExtcapError
impl From<Error> for ExtcapError
Source§impl From<Error> for ExtcapError
impl From<Error> for ExtcapError
Auto Trait Implementations§
impl Freeze for ExtcapError
impl RefUnwindSafe for ExtcapError
impl Send for ExtcapError
impl Sync for ExtcapError
impl Unpin for ExtcapError
impl UnwindSafe for ExtcapError
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