pub enum PrivKey {
Ed25519PrivKey(Ed25519PrivKey),
X25519PrivKey(X25519PrivKey),
}
Expand description
Private key
Variants§
Ed25519PrivKey(Ed25519PrivKey)
X25519PrivKey(X25519PrivKey)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrivKey
impl<'de> Deserialize<'de> for PrivKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrivKey
impl StructuralPartialEq for PrivKey
Auto Trait Implementations§
impl Freeze for PrivKey
impl RefUnwindSafe for PrivKey
impl Send for PrivKey
impl Sync for PrivKey
impl Unpin for PrivKey
impl UnwindSafe for PrivKey
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