Enum nkeys::KeyPairType
source · pub enum KeyPairType {
Server,
Cluster,
Operator,
Account,
User,
Module,
Service,
Curve,
}
Expand description
The authoritative list of valid key pair types that are used for cryptographically secure identities
Variants§
Server
A server identity
Cluster
A cluster (group of servers) identity
Operator
An operator (vouches for accounts) identity
Account
An account (vouches for users) identity
User
A user identity
Module
A module identity - can represent an opaque component, etc.
Service
A service / service provider identity
Curve
CurveKeys (X25519)
Trait Implementations§
source§impl Clone for KeyPairType
impl Clone for KeyPairType
source§fn clone(&self) -> KeyPairType
fn clone(&self) -> KeyPairType
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 KeyPairType
impl Debug for KeyPairType
source§impl From<u8> for KeyPairType
impl From<u8> for KeyPairType
source§fn from(prefix_byte: u8) -> KeyPairType
fn from(prefix_byte: u8) -> KeyPairType
Converts to this type from the input type.
source§impl FromStr for KeyPairType
impl FromStr for KeyPairType
source§impl PartialEq for KeyPairType
impl PartialEq for KeyPairType
impl StructuralPartialEq for KeyPairType
Auto Trait Implementations§
impl Freeze for KeyPairType
impl RefUnwindSafe for KeyPairType
impl Send for KeyPairType
impl Sync for KeyPairType
impl Unpin for KeyPairType
impl UnwindSafe for KeyPairType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)