pub struct FileRepository { /* private fields */ }Available on crate feature
simple only.Expand description
Persistent implementation of SnapshotRepository.
Implementations§
Trait Implementations§
Source§impl SnapshotRepository for FileRepository
impl SnapshotRepository for FileRepository
fn save_snapshot_stream<'life0, 'async_trait>(
&'life0 self,
st: SnapshotStream,
snapshot_index: Index,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_snapshot_stream<'life0, 'async_trait>(
&'life0 self,
index: Index,
) -> Pin<Box<dyn Future<Output = Result<SnapshotStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_snapshot<'life0, 'async_trait>(
&'life0 self,
index: Index,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for FileRepository
impl RefUnwindSafe for FileRepository
impl Send for FileRepository
impl Sync for FileRepository
impl Unpin for FileRepository
impl UnwindSafe for FileRepository
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request