pub enum ParsePrivateKeyError {
InvalidLength,
InvalidCharacter,
}Expand description
秘密鍵が読めなかった理由。秘密鍵の一部を漏らさないように、どこの何が悪かったかは含めない。
Variants§
Trait Implementations§
Source§impl Clone for ParsePrivateKeyError
impl Clone for ParsePrivateKeyError
Source§fn clone(&self) -> ParsePrivateKeyError
fn clone(&self) -> ParsePrivateKeyError
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 moreSource§impl Debug for ParsePrivateKeyError
impl Debug for ParsePrivateKeyError
Source§impl Display for ParsePrivateKeyError
impl Display for ParsePrivateKeyError
impl Eq for ParsePrivateKeyError
Source§impl Error for ParsePrivateKeyError
impl Error for ParsePrivateKeyError
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 ParsePrivateKeyError
impl PartialEq for ParsePrivateKeyError
impl StructuralPartialEq for ParsePrivateKeyError
Auto Trait Implementations§
impl Freeze for ParsePrivateKeyError
impl RefUnwindSafe for ParsePrivateKeyError
impl Send for ParsePrivateKeyError
impl Sync for ParsePrivateKeyError
impl Unpin for ParsePrivateKeyError
impl UnsafeUnpin for ParsePrivateKeyError
impl UnwindSafe for ParsePrivateKeyError
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