Struct tikv_jemalloc_ctl::epoch_mib[][src]

#[repr(transparent)]pub struct epoch_mib(pub Mib<[usize; 1]>);

See epoch.

Implementations

impl epoch_mib[src]

pub fn read(self) -> Result<u64>[src]

Reads value using MIB API.

impl epoch_mib[src]

pub fn write(self, value: u64) -> Result<()>[src]

Writes value using MIB API.

impl epoch_mib[src]

pub fn update(self, value: u64) -> Result<u64>[src]

Updates key to value returning its old value using MIB API.

impl epoch_mib[src]

pub fn advance(self) -> Result<u64>[src]

Advances the epoch returning its old value - see epoch.

Trait Implementations

impl Clone for epoch_mib[src]

impl Copy for epoch_mib[src]

Auto Trait Implementations

impl Send for epoch_mib

impl Sync for epoch_mib

impl Unpin for epoch_mib

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> From<T> for T[src]

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

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.