Enum ecksport_core::peer::Identity
source · pub enum Identity {
Unidentified,
EcksKey(EcksKeyId),
TlsDomain(String),
CustomKey(CustomKeyId),
CustomUsername(String),
}Expand description
The identity of the remote, if set. If this is observed we are sure this identification is authentic within the bounds of the protocol.
Variants§
Unidentified
The remote has not been identified.
EcksKey(EcksKeyId)
Ecksport native key system.
TlsDomain(String)
Authentication on session setup via TLS as some particular domain.
CustomKey(CustomKeyId)
Custom authentication key with application-defined authentication.
CustomUsername(String)
Custom application-specific username logged in somehow.
Implementations§
Trait Implementations§
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)