Re-exports§
pub use client::Client;
Modules§
Structs§
- AtCheckpoint
Lower Bound - See
StateReader::at_checkpoint_lower_bound. - AtCheckpoint
Upper Bound - See
StateReader::at_checkpoint_upper_bound. Read once per request so that a batch checks every item against the same bound. Other implementors of the rpc services build it withSelf::newfrom the height they serve (e.g. sui-kv-rpc’s served height), so every backend applies the same check. - Checkpoint
NotFound Error - Config
- Epoch
NotFound Error - Error
Details - Object
NotFound Error - Object
Removal - The deletion or wrap a read resolved to: the object is not found because the version the read
selected removed it from the live set. Servers describe a removal only when they find it (see
ObjectNotFoundError::removed). The removing transaction is not part of it:ListObjectVersionslists it when the request’sremoval_read_masknamestransaction. - RpcError
- An error encountered while serving an RPC request.
- RpcMetrics
- RpcMetrics
Make Callback Handler - RpcService
- Server
Version - Transaction
NotFound Error
Enums§
- Direction
- Error
Reason - Error reasons in the
sui.ioerror domain, used as thereasonof agoogle.rpc.ErrorInfoor of agoogle.rpc.BadRequest.FieldViolation. - NotReady
Cause - The
causeof aNOT_READYrefusal: the temporary state that keeps this node from serving a request it will serve once the state clears. - NotServed
Here Cause - The
causeof aNOT_SERVED_HERErefusal: why this node does not serve a request. The same request to the same node always fails the same way, so clients do not retry it there.
Constants§
- X_
SUI_ CLIENT_ PROTOCOL_ VERSION - Request header carrying the highest protocol version whose types the client can decode.
- X_
SUI_ FINALITY_ LEVEL - Request header naming the least settled data a request accepts:
executedorcertified.
Functions§
- client_
protocol_ version - The highest protocol version the client that sent a request understands, if it said.
- grpc_
method_ paths_ from_ file_ descriptor_ sets - Decode one or more encoded
FileDescriptorSetbyte slices and return the set of/package.Service/Methodpaths they declare. - not_
ready - A refusal for a request this node cannot serve now but will:
Unavailablewith aNOT_READYErrorInfowhosecausemetadata iscause. - not_
served_ here - A refusal for a request this node is not set up for:
Unimplementedwith aNOT_SERVED_HEREErrorInfowhosecausemetadata iscause.
Type Aliases§
- Grpc
Method Allowlist - Set of
/package.Service/Methodpaths that are safe to use as metric labels. - Result