pub struct SnapshotBatchConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> SnapshotBatchConfigBuilder<S>
impl<S: State> SnapshotBatchConfigBuilder<S>
Sourcepub fn build(self) -> SnapshotBatchConfigwhere
S: IsComplete,
pub fn build(self) -> SnapshotBatchConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn strategy(
self,
value: SnapshotBatchStrategy,
) -> SnapshotBatchConfigBuilder<SetStrategy<S>>where
S::Strategy: IsUnset,
pub fn strategy(
self,
value: SnapshotBatchStrategy,
) -> SnapshotBatchConfigBuilder<SetStrategy<S>>where
S::Strategy: IsUnset,
Sourcepub fn maybe_strategy(
self,
value: Option<SnapshotBatchStrategy>,
) -> SnapshotBatchConfigBuilder<SetStrategy<S>>where
S::Strategy: IsUnset,
pub fn maybe_strategy(
self,
value: Option<SnapshotBatchStrategy>,
) -> SnapshotBatchConfigBuilder<SetStrategy<S>>where
S::Strategy: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SnapshotBatchConfigBuilder<S>
impl<S> RefUnwindSafe for SnapshotBatchConfigBuilder<S>
impl<S> Send for SnapshotBatchConfigBuilder<S>
impl<S> Sync for SnapshotBatchConfigBuilder<S>
impl<S> Unpin for SnapshotBatchConfigBuilder<S>
impl<S> UnsafeUnpin for SnapshotBatchConfigBuilder<S>
impl<S> UnwindSafe for SnapshotBatchConfigBuilder<S>
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