pub enum ShareBackupRecoveryError {
InvalidSigningShare,
InvalidSubShare,
EncryptionError(Error),
}
Expand description
A share backup or recovery error.
Variants§
Encrypted data can’t be converted into a valid signing share e.g decrypted output that’s not 32 bytes long.
Encrypted data can’t be converted into a valid sub share e.g decrypted output that’s not 32 bytes long.
EncryptionError(Error)
An encryption/decryption error.
Trait Implementations§
Auto Trait Implementations§
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