Trait kernel::sysctl::SysctlStorage
source · [−]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
fn read_value(&self, data: &mut UserSlicePtrWriter) -> (usize, Result)
fn read_value(&self, data: &mut UserSlicePtrWriter) -> (usize, Result)
Reads via a UserSlicePtrWriter
.