pub struct Store<S: Writer = DefaultStorage, T: Writer = DefaultTimeline> {
pub storage: S,
pub timeline: T,
}Fields§
§storage: S§timeline: TImplementations§
Trait Implementations§
Source§impl<S: Writer, T: Writer> Writer for Store<S, T>
impl<S: Writer, T: Writer> Writer for Store<S, T>
fn is_cached(&self, hash: &Hash) -> bool
fn sink(&mut self, hash: &Hash) -> BoxProcessor
fn group<I: Iterator<Item = Entry>>( &mut self, name: &str, hash: &Hash, entries: I, )
fn buffer<F: FnOnce(Box<dyn BufferReader>) -> Result<Vec<ConvertedBuffer>, E>, E>( &self, path: &str, sample_rate: u64, init: F, ) -> Result<Vec<CachedBuffer>, E>
Auto Trait Implementations§
impl<S, T> Freeze for Store<S, T>
impl<S, T> RefUnwindSafe for Store<S, T>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for Store<S, T>
impl<S, T> Sync for Store<S, T>
impl<S, T> Unpin for Store<S, T>
impl<S, T> UnwindSafe for Store<S, T>where
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more