pub struct AlwaysSnapshot;Expand description
A snapshot strategy that will always recommend taking a snapshot.
Trait Implementations§
Source§impl Clone for AlwaysSnapshot
impl Clone for AlwaysSnapshot
Source§fn clone(&self) -> AlwaysSnapshot
fn clone(&self) -> AlwaysSnapshot
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 Debug for AlwaysSnapshot
impl Debug for AlwaysSnapshot
Source§impl Default for AlwaysSnapshot
impl Default for AlwaysSnapshot
Source§fn default() -> AlwaysSnapshot
fn default() -> AlwaysSnapshot
Returns the “default value” for a type. Read more
Source§impl Hash for AlwaysSnapshot
impl Hash for AlwaysSnapshot
Source§impl PartialEq for AlwaysSnapshot
impl PartialEq for AlwaysSnapshot
Source§impl SnapshotStrategy for AlwaysSnapshot
impl SnapshotStrategy for AlwaysSnapshot
Source§fn snapshot_recommendation(
&self,
_: Version,
_: Option<Version>,
) -> SnapshotRecommendation
fn snapshot_recommendation( &self, _: Version, _: Option<Version>, ) -> SnapshotRecommendation
Gives the sink’s recommendation on whether or not to perform a snapshot
impl Copy for AlwaysSnapshot
impl Eq for AlwaysSnapshot
impl StructuralPartialEq for AlwaysSnapshot
Auto Trait Implementations§
impl Freeze for AlwaysSnapshot
impl RefUnwindSafe for AlwaysSnapshot
impl Send for AlwaysSnapshot
impl Sync for AlwaysSnapshot
impl Unpin for AlwaysSnapshot
impl UnwindSafe for AlwaysSnapshot
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