Skip to main content

RawDataStore

Trait RawDataStore 

Source
pub trait RawDataStore {
    type Error: Error;

    // Required method
    fn put(
        &mut self,
        object_ref: &str,
        payload: &[u8],
    ) -> Result<(), Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn put(&mut self, object_ref: &str, payload: &[u8]) -> Result<(), Self::Error>

Implementors§

Source§

impl RawDataStore for InMemoryRawDataStore

Source§

type Error = InMemoryStoreError