Enum krill::commons::crypto::SignerError
source · pub enum SignerError {
DecodeError,
InvalidStorage(Url),
IoError(KrillIoError),
JsonError(Error),
KeyNotFound,
KmipError(String),
OpenSslError(ErrorStack),
Other(String),
PermanentlyUnusable,
Pkcs11Error(String),
TemporarilyUnavailable,
UnsupportedSigningAlg(SigningAlgorithm),
}
Variants§
DecodeError
InvalidStorage(Url)
IoError(KrillIoError)
JsonError(Error)
KeyNotFound
KmipError(String)
OpenSslError(ErrorStack)
Other(String)
PermanentlyUnusable
Pkcs11Error(String)
UnsupportedSigningAlg(SigningAlgorithm)
Implementations§
Trait Implementations§
source§impl Debug for SignerError
impl Debug for SignerError
source§impl Display for SignerError
impl Display for SignerError
source§impl From<Error<SignerError>> for SignerError
impl From<Error<SignerError>> for SignerError
source§fn from(err: Error<SignerError>) -> Self
fn from(err: Error<SignerError>) -> Self
Converts to this type from the input type.
source§impl From<Error> for SignerError
impl From<Error> for SignerError
source§fn from(err: Pkcs11Error) -> Self
fn from(err: Pkcs11Error) -> Self
Converts to this type from the input type.
source§impl From<Error> for SignerError
impl From<Error> for SignerError
source§impl From<Error> for SignerError
impl From<Error> for SignerError
source§impl From<Error> for SignerError
impl From<Error> for SignerError
source§impl From<ErrorStack> for SignerError
impl From<ErrorStack> for SignerError
source§fn from(e: ErrorStack) -> Self
fn from(e: ErrorStack) -> Self
Converts to this type from the input type.
source§impl From<KrillIoError> for SignerError
impl From<KrillIoError> for SignerError
source§fn from(e: KrillIoError) -> Self
fn from(e: KrillIoError) -> Self
Converts to this type from the input type.
source§impl From<SignerError> for Error
impl From<SignerError> for Error
source§fn from(e: SignerError) -> Self
fn from(e: SignerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SignerError
impl Send for SignerError
impl Sync for SignerError
impl Unpin for SignerError
impl !UnwindSafe for SignerError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write ) -> Result<(), Error>
Write text escaped for the given mode to
target
.