pub struct AzureSnapshotStore { /* private fields */ }Implementations§
Source§impl AzureSnapshotStore
impl AzureSnapshotStore
pub async fn connect(cfg: AzureConfig) -> Result<Arc<Self>, JournalError>
pub fn config(&self) -> &AzureConfig
Trait Implementations§
Source§impl SnapshotStore for AzureSnapshotStore
impl SnapshotStore for AzureSnapshotStore
fn save<'life0, 'async_trait>(
&'life0 self,
meta: SnapshotMetadata,
payload: Vec<u8>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
persistence_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Option<(SnapshotMetadata, Vec<u8>)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete<'life0, 'life1, 'async_trait>(
&'life0 self,
persistence_id: &'life1 str,
to_sequence_nr: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for AzureSnapshotStore
impl !RefUnwindSafe for AzureSnapshotStore
impl Send for AzureSnapshotStore
impl Sync for AzureSnapshotStore
impl Unpin for AzureSnapshotStore
impl UnsafeUnpin for AzureSnapshotStore
impl !UnwindSafe for AzureSnapshotStore
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