pub struct WalConfigDiffBuilder { /* private fields */ }
Expand description
Builder for WalConfigDiff
.
Implementations§
source§impl WalConfigDiffBuilder
impl WalConfigDiffBuilder
sourcepub fn wal_capacity_mb(self, value: u64) -> Self
pub fn wal_capacity_mb(self, value: u64) -> Self
Size of a single WAL block file
sourcepub fn wal_segments_ahead(self, value: u64) -> Self
pub fn wal_segments_ahead(self, value: u64) -> Self
Number of segments to create in advance
source§impl WalConfigDiffBuilder
impl WalConfigDiffBuilder
sourcepub fn build(self) -> WalConfigDiff
pub fn build(self) -> WalConfigDiff
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl Default for WalConfigDiffBuilder
impl Default for WalConfigDiffBuilder
source§impl From<WalConfigDiffBuilder> for WalConfigDiff
impl From<WalConfigDiffBuilder> for WalConfigDiff
source§fn from(value: WalConfigDiffBuilder) -> Self
fn from(value: WalConfigDiffBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalConfigDiffBuilder
impl RefUnwindSafe for WalConfigDiffBuilder
impl Send for WalConfigDiffBuilder
impl Sync for WalConfigDiffBuilder
impl Unpin for WalConfigDiffBuilder
impl UnwindSafe for WalConfigDiffBuilder
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