Struct diem_data_client::OptimalChunkSizes [−][src]
pub struct OptimalChunkSizes {
pub account_states_chunk_size: u64,
pub epoch_chunk_size: u64,
pub transaction_chunk_size: u64,
pub transaction_output_chunk_size: u64,
}Expand description
Holds the optimal chunk sizes that clients should use when requesting data. This makes the request more likely to succeed.
Fields
account_states_chunk_size: u64epoch_chunk_size: u64transaction_chunk_size: u64transaction_output_chunk_size: u64Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for OptimalChunkSizes
impl Send for OptimalChunkSizes
impl Sync for OptimalChunkSizes
impl Unpin for OptimalChunkSizes
impl UnwindSafe for OptimalChunkSizes
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self