[−][src]Enum salty::Error
Extensible error type for all salty operations.
This enum has a hidden member, to prevent exhaustively checking for errors.
It also has a member NoError with value zero, for use in the C API.
Variants
Never occurs, simplifies C bindings
Bytes do not correspond to a canonical base field element
Public key bytes invalid
Signature verification failed
Context for prehashed signatures too long
Trait Implementations
impl PartialEq<Error> for Error[src][+]
impl Eq for Error[src][+]
impl Hash for Error[src][+]
impl Debug for Error[src][+]
impl Copy for Error[src]
impl Clone for Error[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>, [src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized, [src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src][+]
T: 'static + ?Sized,