Enum ockam::IdentityRequest [−][src]
pub enum IdentityRequest {
Show 22 variants
CreateProfile(Address),
CreateAuthenticationProof(EntityIdentifier, Vec<u8, Global>),
CreateKey(EntityIdentifier, String),
GetProfilePublicKey(EntityIdentifier),
GetProfileSecretKey(EntityIdentifier),
GetPublicKey(EntityIdentifier, String),
GetSecretKey(EntityIdentifier, String),
GetChanges(EntityIdentifier),
GetContacts(EntityIdentifier),
GetContact(EntityIdentifier, EntityIdentifier),
RotateKey(EntityIdentifier),
AddChange(EntityIdentifier, ProfileChangeEvent),
VerifyAuthenticationProof(EntityIdentifier, Vec<u8, Global>, EntityIdentifier, Vec<u8, Global>),
VerifyChanges(EntityIdentifier),
VerifyAndAddContact(EntityIdentifier, Contact),
VerifyContact(EntityIdentifier, Contact),
VerifyAndUpdateContact(EntityIdentifier, EntityIdentifier, Vec<ProfileChangeEvent, Global>),
RemoveProfile(EntityIdentifier),
CreateSecureChannelListener(EntityIdentifier, Address, Address),
CreateSecureChannel(EntityIdentifier, Route, Address),
GetLease(Route, EntityIdentifier, String, String, usize),
RevokeLease(Route, EntityIdentifier, Lease),
}Variants
CreateProfile(Address)Tuple Fields of CreateProfile
0: AddressCreateAuthenticationProof(EntityIdentifier, Vec<u8, Global>)Tuple Fields of CreateAuthenticationProof
0: EntityIdentifier1: Vec<u8, Global>CreateKey(EntityIdentifier, String)Tuple Fields of CreateKey
0: EntityIdentifier1: StringGetProfilePublicKey(EntityIdentifier)Tuple Fields of GetProfilePublicKey
GetProfileSecretKey(EntityIdentifier)Tuple Fields of GetProfileSecretKey
GetPublicKey(EntityIdentifier, String)Tuple Fields of GetPublicKey
0: EntityIdentifier1: StringGetSecretKey(EntityIdentifier, String)Tuple Fields of GetSecretKey
0: EntityIdentifier1: StringGetChanges(EntityIdentifier)Tuple Fields of GetChanges
GetContacts(EntityIdentifier)Tuple Fields of GetContacts
GetContact(EntityIdentifier, EntityIdentifier)Tuple Fields of GetContact
RotateKey(EntityIdentifier)Tuple Fields of RotateKey
AddChange(EntityIdentifier, ProfileChangeEvent)Tuple Fields of AddChange
VerifyAuthenticationProof(EntityIdentifier, Vec<u8, Global>, EntityIdentifier, Vec<u8, Global>)Tuple Fields of VerifyAuthenticationProof
VerifyChanges(EntityIdentifier)Tuple Fields of VerifyChanges
VerifyAndAddContact(EntityIdentifier, Contact)Tuple Fields of VerifyAndAddContact
0: EntityIdentifier1: ContactVerifyContact(EntityIdentifier, Contact)Tuple Fields of VerifyContact
0: EntityIdentifier1: ContactVerifyAndUpdateContact(EntityIdentifier, EntityIdentifier, Vec<ProfileChangeEvent, Global>)Tuple Fields of VerifyAndUpdateContact
RemoveProfile(EntityIdentifier)Tuple Fields of RemoveProfile
CreateSecureChannelListener(EntityIdentifier, Address, Address)Tuple Fields of CreateSecureChannelListener
CreateSecureChannel(EntityIdentifier, Route, Address)Tuple Fields of CreateSecureChannel
GetLease(Route, EntityIdentifier, String, String, usize)Tuple Fields of GetLease
RevokeLease(Route, EntityIdentifier, Lease)Tuple Fields of RevokeLease
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IdentityRequest, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IdentityRequest, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IdentityRequest
impl Send for IdentityRequest
impl Sync for IdentityRequest
impl Unpin for IdentityRequest
impl UnwindSafe for IdentityRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;pub fn vzip(self) -> V
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output; where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output; where
S: Into<Dispatch>,
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more