pub struct SError { /* private fields */ }Expand description
Error type for minisign-rs
This type is used for all errors in minisign-rs
Trait Implementations§
Source§impl Error for SError
impl Error for SError
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 SError
impl From<Error> for SError
Source§fn from(error: SignatureError) -> Self
fn from(error: SignatureError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidOutputLen> for SError
impl From<InvalidOutputLen> for SError
Source§fn from(err: InvalidOutputLen) -> SError
fn from(err: InvalidOutputLen) -> SError
Converts to this type from the input type.
Source§impl From<InvalidParams> for SError
impl From<InvalidParams> for SError
Source§fn from(err: InvalidParams) -> SError
fn from(err: InvalidParams) -> SError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SError
impl !RefUnwindSafe for SError
impl Send for SError
impl Sync for SError
impl Unpin for SError
impl !UnwindSafe for SError
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