[][src]Struct jemalloc_ctl::epoch_mib

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

See epoch.

Methods

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 Copy for epoch_mib[src]

impl Clone for epoch_mib[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for epoch_mib

impl Sync for epoch_mib

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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