pub struct LedgerColumnOptions {
pub shred_storage_type: ShredStorageType,
pub compression_type: BlockstoreCompressionType,
pub rocks_perf_sample_interval: usize,
}
Expand description
Options for LedgerColumn. Each field might also be used as a tag that supports group-by operation when reporting metrics.
Fields§
§shred_storage_type: ShredStorageType
§compression_type: BlockstoreCompressionType
§rocks_perf_sample_interval: usize
Implementations§
source§impl LedgerColumnOptions
impl LedgerColumnOptions
pub fn get_storage_type_string(&self) -> &'static str
pub fn get_compression_type_string(&self) -> &'static str
Trait Implementations§
source§impl Clone for LedgerColumnOptions
impl Clone for LedgerColumnOptions
source§fn clone(&self) -> LedgerColumnOptions
fn clone(&self) -> LedgerColumnOptions
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 moresource§impl Debug for LedgerColumnOptions
impl Debug for LedgerColumnOptions
Auto Trait Implementations§
impl RefUnwindSafe for LedgerColumnOptions
impl Send for LedgerColumnOptions
impl Sync for LedgerColumnOptions
impl Unpin for LedgerColumnOptions
impl UnwindSafe for LedgerColumnOptions
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