Enum cyfs_base::PrivateKeyType
source · pub enum PrivateKeyType {
Rsa,
Secp256k1,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PrivateKeyType
impl Clone for PrivateKeyType
source§fn clone(&self) -> PrivateKeyType
fn clone(&self) -> PrivateKeyType
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 Debug for PrivateKeyType
impl Debug for PrivateKeyType
source§impl Default for PrivateKeyType
impl Default for PrivateKeyType
source§impl Display for PrivateKeyType
impl Display for PrivateKeyType
source§impl FromStr for PrivateKeyType
impl FromStr for PrivateKeyType
source§impl PartialEq<PrivateKeyType> for PrivateKeyType
impl PartialEq<PrivateKeyType> for PrivateKeyType
source§fn eq(&self, other: &PrivateKeyType) -> bool
fn eq(&self, other: &PrivateKeyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.