Trait embedded_svc::storage::StorageBase

source ·
pub trait StorageBase {
    type Error: Debug;

    // Required methods
    fn contains(&self, name: &str) -> Result<bool, Self::Error>;
    fn remove(&mut self, name: &str) -> Result<bool, Self::Error>;
}

Required Associated Types§

source

type Error: Debug

Required Methods§

source

fn contains(&self, name: &str) -> Result<bool, Self::Error>

source

fn remove(&mut self, name: &str) -> Result<bool, Self::Error>

Implementations on Foreign Types§

source§

impl<S> StorageBase for &mut S
where S: StorageBase,

§

type Error = <S as StorageBase>::Error

source§

fn contains(&self, name: &str) -> Result<bool, Self::Error>

source§

fn remove(&mut self, name: &str) -> Result<bool, Self::Error>

Implementors§

source§

impl<'a, const N: usize> StorageBase for DynStorageImpl<'a, N>