Enum ockam::IdentityResponse [−][src]
pub enum IdentityResponse {
Show 17 variants
CreateProfile(EntityIdentifier),
CreateAuthenticationProof(Vec<u8, Global>),
GetPublicKey(PublicKey),
GetProfilePublicKey(PublicKey),
GetProfileSecretKey(Secret),
GetSecretKey(Secret),
GetChanges(Vec<ProfileChangeEvent, Global>),
Contacts(Vec<Contact, Global>),
GetContact(MaybeContact),
VerifyAuthenticationProof(bool),
VerifyContact(bool),
VerifyAndUpdateContact(bool),
VerifyChanges(bool),
VerifyAndAddContact(bool),
CreateSecureChannelListener,
CreateSecureChannel(Address),
Lease(Lease),
}Variants
CreateProfile(EntityIdentifier)Tuple Fields of CreateProfile
GetPublicKey(PublicKey)Tuple Fields of GetPublicKey
0: PublicKeyGetProfilePublicKey(PublicKey)Tuple Fields of GetProfilePublicKey
0: PublicKeyGetProfileSecretKey(Secret)Tuple Fields of GetProfileSecretKey
0: SecretGetSecretKey(Secret)Tuple Fields of GetSecretKey
0: SecretGetChanges(Vec<ProfileChangeEvent, Global>)Tuple Fields of GetChanges
0: Vec<ProfileChangeEvent, Global>GetContact(MaybeContact)Tuple Fields of GetContact
0: MaybeContactVerifyAuthenticationProof(bool)Tuple Fields of VerifyAuthenticationProof
0: boolVerifyContact(bool)Tuple Fields of VerifyContact
0: boolVerifyAndUpdateContact(bool)Tuple Fields of VerifyAndUpdateContact
0: boolVerifyChanges(bool)Tuple Fields of VerifyChanges
0: boolVerifyAndAddContact(bool)Tuple Fields of VerifyAndAddContact
0: boolCreateSecureChannel(Address)Tuple Fields of CreateSecureChannel
0: AddressLease(Lease)Tuple Fields of Lease
0: LeaseTrait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IdentityResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IdentityResponse, <__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 IdentityResponse
impl Send for IdentityResponse
impl Sync for IdentityResponse
impl Unpin for IdentityResponse
impl UnwindSafe for IdentityResponse
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