Trait embedded_svc::storage::RawStorage
source · pub trait RawStorage: StorageBase {
// Required methods
fn len(&self, name: &str) -> Result<Option<usize>, Self::Error>;
fn get_raw<'a>(
&self,
name: &str,
buf: &'a mut [u8],
) -> Result<Option<&'a [u8]>, Self::Error>;
fn set_raw(&mut self, name: &str, buf: &[u8]) -> Result<bool, Self::Error>;
}