Enum sardine::SrdError
[−]
[src]
pub enum SrdError { Io(Error), Crypto(SymmetricCipherError), Ffi(NulError), BadSequence, MissingBlob, BlobFormatError, InvalidKeySize, InvalidMac, InvalidCbt, InvalidCert, InvalidCredentials, InvalidCstr, InvalidDataLength, InvalidSignature, }
Variants
Io(Error)
Crypto(SymmetricCipherError)
Ffi(NulError)
BadSequence
MissingBlob
BlobFormatError
InvalidKeySize
InvalidMac
InvalidCbt
InvalidCert
InvalidCredentials
InvalidCstr
InvalidDataLength
InvalidSignature
Trait Implementations
impl Debug for SrdError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for SrdError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Error for SrdError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<Error> for SrdError
[src]
impl From<SymmetricCipherError> for SrdError
[src]
fn from(error: SymmetricCipherError) -> SrdError
[src]
Performs the conversion.
impl From<NulError> for SrdError
[src]
impl From<FromUtf8Error> for SrdError
[src]
fn from(_error: FromUtf8Error) -> SrdError
[src]
Performs the conversion.