pub enum Sec1PemError {
NoECPrivateKey,
ParseError,
}
Variants§
NoECPrivateKey
No sequence headed by “EC PRIVATE KEY” in parsed bytes.
ParseError
There was an issue while parsing the key.
Trait Implementations§
Source§impl Clone for Sec1PemError
impl Clone for Sec1PemError
Source§fn clone(&self) -> Sec1PemError
fn clone(&self) -> Sec1PemError
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 Sec1PemError
impl Debug for Sec1PemError
Source§impl Display for Sec1PemError
impl Display for Sec1PemError
Source§impl Error for Sec1PemError
impl Error for Sec1PemError
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 Ord for Sec1PemError
impl Ord for Sec1PemError
Source§fn cmp(&self, other: &Sec1PemError) -> Ordering
fn cmp(&self, other: &Sec1PemError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Sec1PemError
impl PartialEq for Sec1PemError
Source§impl PartialOrd for Sec1PemError
impl PartialOrd for Sec1PemError
impl Copy for Sec1PemError
impl Eq for Sec1PemError
impl StructuralPartialEq for Sec1PemError
Auto Trait Implementations§
impl Freeze for Sec1PemError
impl RefUnwindSafe for Sec1PemError
impl Send for Sec1PemError
impl Sync for Sec1PemError
impl Unpin for Sec1PemError
impl UnwindSafe for Sec1PemError
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