pub struct SignatureLengthError(pub usize);Expand description
Error when constructing an Ed25519Signature from a byte slice of wrong length.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for SignatureLengthError
impl Clone for SignatureLengthError
Source§fn clone(&self) -> SignatureLengthError
fn clone(&self) -> SignatureLengthError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignatureLengthError
impl Debug for SignatureLengthError
Source§impl Display for SignatureLengthError
impl Display for SignatureLengthError
Source§impl Error for SignatureLengthError
impl Error for SignatureLengthError
1.30.0 · 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 PartialEq for SignatureLengthError
impl PartialEq for SignatureLengthError
impl Eq for SignatureLengthError
impl StructuralPartialEq for SignatureLengthError
Auto Trait Implementations§
impl Freeze for SignatureLengthError
impl RefUnwindSafe for SignatureLengthError
impl Send for SignatureLengthError
impl Sync for SignatureLengthError
impl Unpin for SignatureLengthError
impl UnsafeUnpin for SignatureLengthError
impl UnwindSafe for SignatureLengthError
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