Struct fluvio_sc_schema::store::EpochCounter [−]
pub struct EpochCounter<T> { /* fields omitted */ }
Keep track of changes to object using epoch for every changes to objects, epoch counter must be incremented
Implementations
impl<T> EpochCounter<T>
impl<T> EpochCounter<T>
pub fn new(inner: T) -> EpochCounter<T>
pub fn new_with_epoch<E>(inner: T, epoch: E) -> EpochCounter<T> where
E: Into<i64>,
E: Into<i64>,
pub fn inner(&self) -> &T
pub fn inner_mut(&mut self) -> &mut T
pub fn inner_owned(self) -> T
pub fn epoch(&self) -> i64
pub fn increment(&mut self)
pub fn decrement(&mut self)
Trait Implementations
impl<T> Clone for EpochCounter<T> where
T: Clone,
impl<T> Clone for EpochCounter<T> where
T: Clone,
pub fn clone(&self) -> EpochCounter<T>
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Debug for EpochCounter<T> where
T: Debug,
impl<T> Debug for EpochCounter<T> where
T: Debug,
impl<T> Default for EpochCounter<T> where
T: Default,
impl<T> Default for EpochCounter<T> where
T: Default,
pub fn default() -> EpochCounter<T>
impl<T> Deref for EpochCounter<T>
impl<T> Deref for EpochCounter<T>
type Target = T
The resulting type after dereferencing.
pub fn deref(&self) -> &<EpochCounter<T> as Deref>::Target
impl<T> DerefMut for EpochCounter<T>
impl<T> DerefMut for EpochCounter<T>
pub fn deref_mut(&mut self) -> &mut <EpochCounter<T> as Deref>::Target
impl<T> Eq for EpochCounter<T> where
T: Eq,
impl<T> Eq for EpochCounter<T> where
T: Eq,
impl<T> From<T> for EpochCounter<T>
impl<T> From<T> for EpochCounter<T>
pub fn from(inner: T) -> EpochCounter<T>
impl<T> Hash for EpochCounter<T> where
T: Hash,
impl<T> Hash for EpochCounter<T> where
T: Hash,
impl<T> PartialEq<EpochCounter<T>> for EpochCounter<T> where
T: PartialEq<T>,
impl<T> PartialEq<EpochCounter<T>> for EpochCounter<T> where
T: PartialEq<T>,
Auto Trait Implementations
impl<T> RefUnwindSafe for EpochCounter<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for EpochCounter<T> where
T: RefUnwindSafe,
impl<T> Send for EpochCounter<T> where
T: Send,
impl<T> Send for EpochCounter<T> where
T: Send,
impl<T> Sync for EpochCounter<T> where
T: Sync,
impl<T> Sync for EpochCounter<T> where
T: Sync,
impl<T> Unpin for EpochCounter<T> where
T: Unpin,
impl<T> Unpin for EpochCounter<T> where
T: Unpin,
impl<T> UnwindSafe for EpochCounter<T> where
T: UnwindSafe,
impl<T> UnwindSafe for EpochCounter<T> where
T: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]