pub enum PrivateKeyData {
SecretKey(String),
RsaKey(Vec<u8>),
Ed25519Key(Vec<u8>),
}Variants§
Trait Implementations§
Source§impl Clone for PrivateKeyData
impl Clone for PrivateKeyData
Source§fn clone(&self) -> PrivateKeyData
fn clone(&self) -> PrivateKeyData
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 moreAuto Trait Implementations§
impl Freeze for PrivateKeyData
impl RefUnwindSafe for PrivateKeyData
impl Send for PrivateKeyData
impl Sync for PrivateKeyData
impl Unpin for PrivateKeyData
impl UnwindSafe for PrivateKeyData
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