Enum makiko::keys::DecodedPrivkeyNopass
source · pub enum DecodedPrivkeyNopass {
Privkey(Privkey),
Pubkey(Pubkey),
Encrypted,
}
Expand description
Private key decoded without a password.
Variants§
Privkey(Privkey)
Private key that was not encrypted, so we decoded it without a password.
Pubkey(Pubkey)
Private key that was encrypted, but the format allows us to read the public key without decryption.
Encrypted
Private key that was encrypted, so we could not decode anything.
Implementations§
Trait Implementations§
source§impl Clone for DecodedPrivkeyNopass
impl Clone for DecodedPrivkeyNopass
source§fn clone(&self) -> DecodedPrivkeyNopass
fn clone(&self) -> DecodedPrivkeyNopass
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 PartialEq<DecodedPrivkeyNopass> for DecodedPrivkeyNopass
impl PartialEq<DecodedPrivkeyNopass> for DecodedPrivkeyNopass
source§fn eq(&self, other: &DecodedPrivkeyNopass) -> bool
fn eq(&self, other: &DecodedPrivkeyNopass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DecodedPrivkeyNopass
impl StructuralEq for DecodedPrivkeyNopass
impl StructuralPartialEq for DecodedPrivkeyNopass
Auto Trait Implementations§
impl RefUnwindSafe for DecodedPrivkeyNopass
impl Send for DecodedPrivkeyNopass
impl Sync for DecodedPrivkeyNopass
impl Unpin for DecodedPrivkeyNopass
impl UnwindSafe for DecodedPrivkeyNopass
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