Enum signatory::error::ErrorKind [−][src]
pub enum ErrorKind { Io, KeyInvalid, ParseError, ProviderError, SignatureInvalid, }
Kinds of errors
Variants
Io
Input/output error
KeyInvalid
Malformatted or otherwise invalid cryptographic key
ParseError
Error parsing a file format or other data
ProviderError
Internal error within a cryptographic provider
SignatureInvalid
Signature is not valid
Methods
impl ErrorKind
[src]
impl ErrorKind
pub fn as_str(self) -> &'static str
[src]
pub fn as_str(self) -> &'static str
Obtain a string description of an error. Like description()
but not
bound to std
Trait Implementations
impl From<ErrorKind> for Error
[src]
impl From<ErrorKind> for Error
impl Copy for ErrorKind
[src]
impl Copy for ErrorKind
impl Clone for ErrorKind
[src]
impl Clone for ErrorKind
fn clone(&self) -> ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for ErrorKind
[src]
impl Eq for ErrorKind
impl PartialEq for ErrorKind
[src]
impl PartialEq for ErrorKind
fn eq(&self, other: &ErrorKind) -> bool
[src]
fn eq(&self, other: &ErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for ErrorKind
[src]
impl Debug for ErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ErrorKind
[src]
impl Display for ErrorKind