Enum cypher::EcSerError
source · pub enum EcSerError {
Io(IoError),
InvalidKeyLength(usize),
InvalidKey(EcPkInvalid),
DataEncoding(String),
}
Variants§
Io(IoError)
InvalidKeyLength(usize)
public key has invalid length {0}
InvalidKey(EcPkInvalid)
DataEncoding(String)
error parsing encoding: {0}
Trait Implementations§
source§impl Clone for EcSerError
impl Clone for EcSerError
source§fn clone(&self) -> EcSerError
fn clone(&self) -> EcSerError
Returns a copy 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 EcSerError
impl Debug for EcSerError
source§impl Display for EcSerError
impl Display for EcSerError
source§impl Error for EcSerError
impl Error for EcSerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<EcPkInvalid> for EcSerError
impl From<EcPkInvalid> for EcSerError
source§fn from(v: EcPkInvalid) -> Self
fn from(v: EcPkInvalid) -> Self
Converts to this type from the input type.
source§impl From<EcSerError> for String
impl From<EcSerError> for String
source§fn from(err: EcSerError) -> Self
fn from(err: EcSerError) -> Self
Converts to this type from the input type.
source§impl From<Error> for EcSerError
Available on crate feature multibase
only.
impl From<Error> for EcSerError
Available on crate feature
multibase
only.source§impl From<Error> for EcSerError
Available on crate feature ec25519
only.
impl From<Error> for EcSerError
Available on crate feature
ec25519
only.source§impl From<IoError> for EcSerError
impl From<IoError> for EcSerError
source§impl PartialEq for EcSerError
impl PartialEq for EcSerError
source§fn eq(&self, other: &EcSerError) -> bool
fn eq(&self, other: &EcSerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EcSerError
impl StructuralPartialEq for EcSerError
Auto Trait Implementations§
impl Freeze for EcSerError
impl !RefUnwindSafe for EcSerError
impl Send for EcSerError
impl Sync for EcSerError
impl Unpin for EcSerError
impl !UnwindSafe for EcSerError
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