pub struct BlockstoreRocksFifoOptions {
pub shred_data_cf_size: u64,
pub shred_code_cf_size: u64,
}
Fields§
§shred_data_cf_size: u64
§shred_code_cf_size: u64
Implementations§
source§impl BlockstoreRocksFifoOptions
impl BlockstoreRocksFifoOptions
sourcefn new(max_shred_storage_size: Option<u64>) -> Self
fn new(max_shred_storage_size: Option<u64>) -> Self
Returns a BlockstoreRocksFifoOptions where the specified
max_shred_storage_size
is equally split between shred_data_cf_size
and shred_code_cf_size. A None
value for max_shred_storage_size
will (functionally) allow unbounded growth in these two columns. Once
a column’s total size exceeds the configured value, the oldest file(s)
will be purged to get back within the limit.
pub fn new_for_tests() -> Self
Trait Implementations§
source§impl Clone for BlockstoreRocksFifoOptions
impl Clone for BlockstoreRocksFifoOptions
source§fn clone(&self) -> BlockstoreRocksFifoOptions
fn clone(&self) -> BlockstoreRocksFifoOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for BlockstoreRocksFifoOptions
impl Send for BlockstoreRocksFifoOptions
impl Sync for BlockstoreRocksFifoOptions
impl Unpin for BlockstoreRocksFifoOptions
impl UnwindSafe for BlockstoreRocksFifoOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request