pub enum GenomeError {
NotSealed,
AlreadySealed,
RuleViolation(String),
HsmConfigError(String),
CryptoError(CryptoError),
}Variants§
Trait Implementations§
Source§impl Debug for GenomeError
impl Debug for GenomeError
Source§impl Display for GenomeError
impl Display for GenomeError
Source§impl Error for GenomeError
impl Error for GenomeError
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<CryptoError> for GenomeError
impl From<CryptoError> for GenomeError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GenomeError
impl RefUnwindSafe for GenomeError
impl Send for GenomeError
impl Sync for GenomeError
impl Unpin for GenomeError
impl UnwindSafe for GenomeError
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