Struct tikv_jemalloc_ctl::max_background_threads_mib[][src]

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

See max_background_threads.

Implementations

impl max_background_threads_mib[src]

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

Reads value using MIB API.

impl max_background_threads_mib[src]

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

Writes value using MIB API.

impl max_background_threads_mib[src]

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

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

Trait Implementations

impl Clone for max_background_threads_mib[src]

impl Copy for max_background_threads_mib[src]

Auto Trait Implementations

impl Send for max_background_threads_mib

impl Sync for max_background_threads_mib

impl Unpin for max_background_threads_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.