pub struct Build<'a> {
pub cold: &'a Cold,
pub first: u32,
pub last: u32,
pub base: Vec<([u8; 32], Vec<u8>)>,
pub spill_after: usize,
}Expand description
What to build an index of.
Fields§
§cold: &'a Cold§first: u32First and last cold ledger to index.
last: u32§base: Vec<([u8; 32], Vec<u8>)>The whole state at ledger first - 1: objects the cold patches don’t carry.
spill_after: usizePairs held in memory before they go to temporary files.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Build<'a>
impl<'a> RefUnwindSafe for Build<'a>
impl<'a> Send for Build<'a>
impl<'a> Sync for Build<'a>
impl<'a> Unpin for Build<'a>
impl<'a> UnsafeUnpin for Build<'a>
impl<'a> UnwindSafe for Build<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].