pub struct Config<I: Indexer> {Show 14 fields
pub namespace: Vec<u8>,
pub supervisor: ViewSupervisor,
pub public_key: PublicKey,
pub identity: Identity,
pub backfill_quota: Quota,
pub mailbox_size: usize,
pub partition: String,
pub prunable_items_per_blob: NonZero<u64>,
pub persistent_items_per_blob: NonZero<u64>,
pub write_buffer: NonZero<usize>,
pub replay_buffer: NonZero<usize>,
pub buffer_pool: PoolRef,
pub indexer: I,
pub max_uploads_outstanding: usize,
}Fields§
§namespace: Vec<u8>§supervisor: ViewSupervisor§public_key: PublicKey§identity: Identity§backfill_quota: Quota§mailbox_size: usize§partition: String§prunable_items_per_blob: NonZero<u64>§persistent_items_per_blob: NonZero<u64>§write_buffer: NonZero<usize>§replay_buffer: NonZero<usize>§buffer_pool: PoolRef§indexer: I§max_uploads_outstanding: usizeAuto Trait Implementations§
impl<I> Freeze for Config<I>where
I: Freeze,
impl<I> !RefUnwindSafe for Config<I>
impl<I> Send for Config<I>
impl<I> Sync for Config<I>
impl<I> Unpin for Config<I>where
I: Unpin,
impl<I> !UnwindSafe for Config<I>
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more