pub enum SigningContextValueError {
Empty,
TooLong,
InvalidByte,
}Expand description
Signing-context text validation failure.
Variants§
Empty
The value must not be empty.
TooLong
The value exceeds its type-specific byte limit.
InvalidByte
The value must be visible ASCII without backslashes.
Trait Implementations§
Source§impl Clone for SigningContextValueError
impl Clone for SigningContextValueError
Source§fn clone(&self) -> SigningContextValueError
fn clone(&self) -> SigningContextValueError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SigningContextValueError
Source§impl Debug for SigningContextValueError
impl Debug for SigningContextValueError
Source§impl Display for SigningContextValueError
impl Display for SigningContextValueError
impl Eq for SigningContextValueError
Source§impl Error for SigningContextValueError
impl Error for SigningContextValueError
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 SigningContextValueError
impl PartialEq for SigningContextValueError
impl StructuralPartialEq for SigningContextValueError
Auto Trait Implementations§
impl Freeze for SigningContextValueError
impl RefUnwindSafe for SigningContextValueError
impl Send for SigningContextValueError
impl Sync for SigningContextValueError
impl Unpin for SigningContextValueError
impl UnsafeUnpin for SigningContextValueError
impl UnwindSafe for SigningContextValueError
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