Skip to main content

Set

Trait Set 

Source
pub trait Set<T> {
    // Required method
    fn set(&mut self, namespace: &Key, key: &Key, value: T) -> Result<(), Error>;
}

Required Methods§

Source

fn set(&mut self, namespace: &Key, key: &Key, value: T) -> Result<(), Error>

Implementations on Foreign Types§

Source§

impl<T, S: Set<T>> Set<T> for &mut S

Source§

fn set(&mut self, namespace: &Key, key: &Key, value: T) -> Result<(), Error>

Implementors§

Source§

impl<T: Platform> Set<&str> for Nvs<T>

Source§

impl<T: Platform> Set<&[u8]> for Nvs<T>

Source§

impl<T: Platform> Set<bool> for Nvs<T>

Source§

impl<T: Platform> Set<i8> for Nvs<T>

Source§

impl<T: Platform> Set<i16> for Nvs<T>

Source§

impl<T: Platform> Set<i32> for Nvs<T>

Source§

impl<T: Platform> Set<i64> for Nvs<T>

Source§

impl<T: Platform> Set<u8> for Nvs<T>

Source§

impl<T: Platform> Set<u16> for Nvs<T>

Source§

impl<T: Platform> Set<u32> for Nvs<T>

Source§

impl<T: Platform> Set<u64> for Nvs<T>