pub struct PError { /* private fields */ }
Expand description
Error structure for the minisign
crate.
Implementations§
Trait Implementations§
source§impl Error for PError
impl Error for PError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
source§impl From<FromUtf8Error> for PError
impl From<FromUtf8Error> for PError
source§fn from(err: FromUtf8Error) -> PError
fn from(err: FromUtf8Error) -> PError
Converts to this type from the input type.
source§impl From<InvalidOutputLen> for PError
impl From<InvalidOutputLen> for PError
source§fn from(err: InvalidOutputLen) -> PError
fn from(err: InvalidOutputLen) -> PError
Converts to this type from the input type.
source§impl From<InvalidParams> for PError
impl From<InvalidParams> for PError
source§fn from(err: InvalidParams) -> PError
fn from(err: InvalidParams) -> PError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PError
impl !RefUnwindSafe for PError
impl Send for PError
impl Sync for PError
impl Unpin for PError
impl !UnwindSafe for PError
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