pub struct IdentityHandle(pub u64);Expand description
Opaque handle for a validated identity. The plugin-internal state (X.509 cert, keys) is not exposed outward through this handle.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for IdentityHandle
impl Clone for IdentityHandle
Source§fn clone(&self) -> IdentityHandle
fn clone(&self) -> IdentityHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IdentityHandle
Source§impl Debug for IdentityHandle
impl Debug for IdentityHandle
impl Eq for IdentityHandle
Source§impl Hash for IdentityHandle
impl Hash for IdentityHandle
Source§impl Ord for IdentityHandle
impl Ord for IdentityHandle
Source§fn cmp(&self, other: &IdentityHandle) -> Ordering
fn cmp(&self, other: &IdentityHandle) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IdentityHandle
impl PartialEq for IdentityHandle
Source§fn eq(&self, other: &IdentityHandle) -> bool
fn eq(&self, other: &IdentityHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IdentityHandle
impl PartialOrd for IdentityHandle
impl StructuralPartialEq for IdentityHandle
Auto Trait Implementations§
impl Freeze for IdentityHandle
impl RefUnwindSafe for IdentityHandle
impl Send for IdentityHandle
impl Sync for IdentityHandle
impl Unpin for IdentityHandle
impl UnsafeUnpin for IdentityHandle
impl UnwindSafe for IdentityHandle
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