Enum ockam::IdentityRequest[][src]

pub enum IdentityRequest {
Show 22 variants CreateProfile(Address), CreateAuthenticationProof(EntityIdentifierVec<u8, Global>), CreateKey(EntityIdentifierString), GetProfilePublicKey(EntityIdentifier), GetProfileSecretKey(EntityIdentifier), GetPublicKey(EntityIdentifierString), GetSecretKey(EntityIdentifierString), GetChanges(EntityIdentifier), GetContacts(EntityIdentifier), GetContact(EntityIdentifierEntityIdentifier), RotateKey(EntityIdentifier), AddChange(EntityIdentifierProfileChangeEvent), VerifyAuthenticationProof(EntityIdentifierVec<u8, Global>, EntityIdentifierVec<u8, Global>), VerifyChanges(EntityIdentifier), VerifyAndAddContact(EntityIdentifierContact), VerifyContact(EntityIdentifierContact), VerifyAndUpdateContact(EntityIdentifierEntityIdentifierVec<ProfileChangeEvent, Global>), RemoveProfile(EntityIdentifier), CreateSecureChannelListener(EntityIdentifierAddressAddress), CreateSecureChannel(EntityIdentifierRouteAddress), GetLease(RouteEntityIdentifierStringStringusize), RevokeLease(RouteEntityIdentifierLease),
}

Variants

CreateProfile(Address)

Tuple Fields of CreateProfile

0: Address
CreateAuthenticationProof(EntityIdentifierVec<u8, Global>)

Tuple Fields of CreateAuthenticationProof

0: EntityIdentifier1: Vec<u8, Global>

Tuple Fields of CreateKey

0: EntityIdentifier1: String
GetProfilePublicKey(EntityIdentifier)

Tuple Fields of GetProfilePublicKey

0: EntityIdentifier
GetProfileSecretKey(EntityIdentifier)

Tuple Fields of GetProfileSecretKey

0: EntityIdentifier
GetPublicKey(EntityIdentifierString)

Tuple Fields of GetPublicKey

0: EntityIdentifier1: String
GetSecretKey(EntityIdentifierString)

Tuple Fields of GetSecretKey

0: EntityIdentifier1: String
GetChanges(EntityIdentifier)

Tuple Fields of GetChanges

0: EntityIdentifier
GetContacts(EntityIdentifier)

Tuple Fields of GetContacts

0: EntityIdentifier

Tuple Fields of GetContact

0: EntityIdentifier1: EntityIdentifier
RotateKey(EntityIdentifier)

Tuple Fields of RotateKey

0: EntityIdentifier

Tuple Fields of AddChange

0: EntityIdentifier1: ProfileChangeEvent
VerifyAuthenticationProof(EntityIdentifierVec<u8, Global>, EntityIdentifierVec<u8, Global>)

Tuple Fields of VerifyAuthenticationProof

0: EntityIdentifier1: Vec<u8, Global>2: EntityIdentifier3: Vec<u8, Global>
VerifyChanges(EntityIdentifier)

Tuple Fields of VerifyChanges

0: EntityIdentifier
VerifyAndAddContact(EntityIdentifierContact)

Tuple Fields of VerifyAndAddContact

0: EntityIdentifier1: Contact
VerifyContact(EntityIdentifierContact)

Tuple Fields of VerifyContact

0: EntityIdentifier1: Contact

Tuple Fields of VerifyAndUpdateContact

0: EntityIdentifier1: EntityIdentifier2: Vec<ProfileChangeEvent, Global>
RemoveProfile(EntityIdentifier)

Tuple Fields of RemoveProfile

0: EntityIdentifier
CreateSecureChannelListener(EntityIdentifierAddressAddress)

Tuple Fields of CreateSecureChannelListener

0: EntityIdentifier1: Address2: Address
CreateSecureChannel(EntityIdentifierRouteAddress)

Tuple Fields of CreateSecureChannel

0: EntityIdentifier1: Route2: Address

Tuple Fields of GetLease

0: Route1: EntityIdentifier2: String3: String4: usize
RevokeLease(RouteEntityIdentifierLease)

Tuple Fields of RevokeLease

0: Route1: EntityIdentifier2: Lease

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Try cloning a object and return an Err in case of failure.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Decode a slice.

Encode the type into an Encoded type.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more