pub enum ArcIdentity {
Anonymous(Arc<AnonymousIdentity>),
Ed25519(Arc<BasicIdentity>),
Delegated(Arc<DelegatedIdentity>),
}Variants§
Trait Implementations§
Source§impl Clone for ArcIdentity
impl Clone for ArcIdentity
Source§fn clone(&self) -> ArcIdentity
fn clone(&self) -> ArcIdentity
Returns a duplicate 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 ArcIdentity
impl Debug for ArcIdentity
Source§impl Default for ArcIdentity
impl Default for ArcIdentity
Source§impl From<AnonymousIdentity> for ArcIdentity
impl From<AnonymousIdentity> for ArcIdentity
Source§fn from(identity: AnonymousIdentity) -> Self
fn from(identity: AnonymousIdentity) -> Self
Converts to this type from the input type.
Source§impl From<ArcIdentity> for Key
impl From<ArcIdentity> for Key
Source§fn from(identity: ArcIdentity) -> Self
fn from(identity: ArcIdentity) -> Self
Converts to this type from the input type.
Source§impl From<BasicIdentity> for ArcIdentity
impl From<BasicIdentity> for ArcIdentity
Source§fn from(identity: BasicIdentity) -> Self
fn from(identity: BasicIdentity) -> Self
Converts to this type from the input type.
Source§impl From<DelegatedIdentity> for ArcIdentity
impl From<DelegatedIdentity> for ArcIdentity
Source§fn from(identity: DelegatedIdentity) -> Self
fn from(identity: DelegatedIdentity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArcIdentity
impl !RefUnwindSafe for ArcIdentity
impl Send for ArcIdentity
impl Sync for ArcIdentity
impl Unpin for ArcIdentity
impl !UnwindSafe for ArcIdentity
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