pub trait SysctlStorage: Sync {
    fn store_value(&self, data: &[u8]) -> (usize, Result);
    fn read_value(&self, data: &mut UserSlicePtrWriter) -> (usize, Result);
}
Available on CONFIG_SYSCTL only.
Expand description

Sysctl storage.

Required Methods

Writes a byte slice.

Reads via a UserSlicePtrWriter.

Implementations on Foreign Types

Implementors

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.