pub enum FromSliceSecretKeyError {
InvalidLength(usize),
}
Expand description
Error while reading SecretKey
from a byte slice.
Variants§
InvalidLength(usize)
Expected the slice to be SECRET_KEY_LENGTH
bytes long, got this length instead.
Trait Implementations§
source§impl Debug for FromSliceSecretKeyError
impl Debug for FromSliceSecretKeyError
source§impl From<FromSliceSecretKeyError> for FromStrSecretKeyError
impl From<FromSliceSecretKeyError> for FromStrSecretKeyError
source§fn from(err: FromSliceSecretKeyError) -> Self
fn from(err: FromSliceSecretKeyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromSliceSecretKeyError
impl RefUnwindSafe for FromSliceSecretKeyError
impl Send for FromSliceSecretKeyError
impl Sync for FromSliceSecretKeyError
impl Unpin for FromSliceSecretKeyError
impl UnwindSafe for FromSliceSecretKeyError
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