pub enum EitherEd25519SecretKey {
Extended(SecretKey<Ed25519Extended>),
Normal(SecretKey<Ed25519>),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for EitherEd25519SecretKey
impl Clone for EitherEd25519SecretKey
source§fn clone(&self) -> EitherEd25519SecretKey
fn clone(&self) -> EitherEd25519SecretKey
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 From<EitherEd25519SecretKey> for PrivateKey
impl From<EitherEd25519SecretKey> for PrivateKey
source§fn from(secret_key: EitherEd25519SecretKey) -> PrivateKey
fn from(secret_key: EitherEd25519SecretKey) -> PrivateKey
Converts to this type from the input type.