Enum safe_network::messaging::client::QueryResponse[][src]

pub enum QueryResponse {
Show variants GetChunk(Result<Chunk>), GetMap(Result<Map>), GetMapShell(Result<Map>), GetMapVersion(Result<u64>), ListMapEntries(Result<MapEntries>), ListMapKeys(Result<BTreeSet<Vec<u8>>>), ListMapValues(Result<MapValues>), ListMapUserPermissions(Result<MapPermissionSet>), ListMapPermissions(Result<BTreeMap<PublicKey, MapPermissionSet>>), GetMapValue(Result<MapValue>), GetSequence(Result<Sequence>), GetSequenceRange(Result<SequenceEntries>), GetSequenceLastEntry(Result<(u64, SequenceEntry)>), GetSequencePublicPolicy(Result<SequencePublicPolicy>), GetSequencePrivatePolicy(Result<SequencePrivatePolicy>), GetSequenceUserPermissions(Result<SequencePermissions>), GetRegister(Result<Register>), GetRegisterOwner(Result<PublicKey>), ReadRegister(Result<BTreeSet<(EntryHash, Entry)>>), GetRegisterPolicy(Result<Policy>), GetRegisterUserPermissions(Result<Permissions>), GetBalance(Result<Token>), GetHistory(Result<ActorHistory>), GetStoreCost(Result<(u64, Token, PublicKey)>),
}
Expand description

Query responses from the network.

Variants

GetChunk(Result<Chunk>)

Get Chunk.

GetMap(Result<Map>)

Get Map.

GetMapShell(Result<Map>)

Get Map shell.

GetMapVersion(Result<u64>)

Get Map version.

ListMapEntries(Result<MapEntries>)

List all Map entries (key-value pairs).

ListMapKeys(Result<BTreeSet<Vec<u8>>>)

List all Map keys.

ListMapValues(Result<MapValues>)

List all Map values.

ListMapUserPermissions(Result<MapPermissionSet>)

Get Map permissions for a user.

ListMapPermissions(Result<BTreeMap<PublicKey, MapPermissionSet>>)

List all Map permissions.

GetMapValue(Result<MapValue>)

Get Map value.

GetSequence(Result<Sequence>)

Get Sequence.

GetSequenceRange(Result<SequenceEntries>)

Get Sequence entries from a range.

GetSequenceLastEntry(Result<(u64, SequenceEntry)>)

Get Sequence last entry.

GetSequencePublicPolicy(Result<SequencePublicPolicy>)

Get public Sequence permissions for a user.

GetSequencePrivatePolicy(Result<SequencePrivatePolicy>)

Get private Sequence permissions for a user.

GetSequenceUserPermissions(Result<SequencePermissions>)

Get Sequence permissions for a user.

GetRegister(Result<Register>)

Get Register.

GetRegisterOwner(Result<PublicKey>)

Get Register owners.

ReadRegister(Result<BTreeSet<(EntryHash, Entry)>>)

Read Register.

GetRegisterPolicy(Result<Policy>)

Get public Register permissions for a user.

GetRegisterUserPermissions(Result<Permissions>)

Get Register permissions for a user.

GetBalance(Result<Token>)

Get key balance.

GetHistory(Result<ActorHistory>)

Get key transfer history.

GetStoreCost(Result<(u64, Token, PublicKey)>)

Get Store Cost.

Implementations

Returns true if the result returned is a success or not

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.