Enum nkeys::KeyPairType
source · pub enum KeyPairType {
Server,
Cluster,
Operator,
Account,
User,
Module,
Service,
}
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
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<KeyPairType> for KeyPairType
impl PartialEq<KeyPairType> for KeyPairType
source§fn eq(&self, other: &KeyPairType) -> bool
fn eq(&self, other: &KeyPairType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeyPairType
Auto Trait Implementations§
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