pub enum FactoryError {
MACError(MACError),
UnsupportedAlgorithm(String),
}Variants§
Trait Implementations§
Source§impl Debug for FactoryError
impl Debug for FactoryError
Source§impl From<MACError> for FactoryError
impl From<MACError> for FactoryError
Source§fn from(e: MACError) -> FactoryError
fn from(e: MACError) -> FactoryError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FactoryError
impl RefUnwindSafe for FactoryError
impl Send for FactoryError
impl Sync for FactoryError
impl Unpin for FactoryError
impl UnwindSafe for FactoryError
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