Struct fluvio::metadata::store::DualEpochCounter[]

pub struct DualEpochCounter<T> { /* fields omitted */ }

Keep track of internal changes to object Track 3 different changes (spec,status,meta)

Implementations

impl<T> DualEpochCounter<T>

pub fn new(inner: T) -> DualEpochCounter<T>

pub fn spec_epoch(&self) -> i64

pub fn status_epoch(&self) -> i64

pub fn meta_epoch(&self) -> i64

pub fn inner(&self) -> &T

pub fn inner_mut(&mut self) -> &mut T

pub fn inner_owned(self) -> T

Trait Implementations

impl<T> Clone for DualEpochCounter<T> where
    T: Clone

impl<T> Debug for DualEpochCounter<T> where
    T: Debug

impl<T> Default for DualEpochCounter<T> where
    T: Default

impl<T> Deref for DualEpochCounter<T>

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for DualEpochCounter<T>

impl<T> From<T> for DualEpochCounter<T>

Auto Trait Implementations

impl<T> RefUnwindSafe for DualEpochCounter<T> where
    T: RefUnwindSafe

impl<T> Send for DualEpochCounter<T> where
    T: Send

impl<T> Sync for DualEpochCounter<T> where
    T: Sync

impl<T> Unpin for DualEpochCounter<T> where
    T: Unpin

impl<T> UnwindSafe for DualEpochCounter<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]