pub struct ReplaySnapshotBuilder { /* private fields */ }Implementations§
Source§impl ReplaySnapshotBuilder
impl ReplaySnapshotBuilder
pub fn snapshot_id(self, snapshot_id: impl Into<SnapshotId>) -> Self
pub fn from_step(self, from_step: impl Into<i64>) -> Self
pub fn to_step(self, to_step: impl Into<i64>) -> Self
pub fn scale(self, scale: impl Into<f64>) -> Self
pub fn build(self) -> Result<ReplaySnapshot, String>
Trait Implementations§
Source§impl Clone for ReplaySnapshotBuilder
impl Clone for ReplaySnapshotBuilder
Source§fn clone(&self) -> ReplaySnapshotBuilder
fn clone(&self) -> ReplaySnapshotBuilder
Returns a duplicate 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 Default for ReplaySnapshotBuilder
impl Default for ReplaySnapshotBuilder
Source§fn default() -> ReplaySnapshotBuilder
fn default() -> ReplaySnapshotBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplaySnapshotBuilder
impl RefUnwindSafe for ReplaySnapshotBuilder
impl Send for ReplaySnapshotBuilder
impl Sync for ReplaySnapshotBuilder
impl Unpin for ReplaySnapshotBuilder
impl UnsafeUnpin for ReplaySnapshotBuilder
impl UnwindSafe for ReplaySnapshotBuilder
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