pub enum IdentityPinError {
Io {
path: PathBuf,
source: Error,
},
Invalid {
path: PathBuf,
msg: String,
},
Inconsistent {
agent: String,
msg: String,
},
Name(String),
NotAnExtension {
agent: String,
msg: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for IdentityPinError
impl Debug for IdentityPinError
Source§impl Display for IdentityPinError
impl Display for IdentityPinError
Source§impl Error for IdentityPinError
impl Error for IdentityPinError
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 !RefUnwindSafe for IdentityPinError
impl !UnwindSafe for IdentityPinError
impl Forget for IdentityPinError
impl Freeze for IdentityPinError
impl Move for IdentityPinError
impl Send for IdentityPinError
impl Sync for IdentityPinError
impl Unpin for IdentityPinError
impl UnsafeUnpin for IdentityPinError
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