pub struct CreatedSnapshot { /* private fields */ }Implementations§
Source§impl CreatedSnapshot
impl CreatedSnapshot
pub async fn device_state_for_test( &self, reference: &StoreBatchCommitRef, ) -> Result<ResolvedStoreDeviceState, DbError>
Source§impl CreatedSnapshot
impl CreatedSnapshot
pub fn new( db_image: SnapshotDatabaseImage, blobs: Vec<SnapshotBlobFact>, ) -> Self
pub fn blobs(&self) -> &[SnapshotBlobFact]
pub async fn read_image(&self) -> Result<Vec<u8>, SnapshotImageError>
pub fn into_parts(self) -> (SnapshotDatabaseImage, Vec<SnapshotBlobFact>)
pub fn image_path_for_test(&self) -> &Path
Auto Trait Implementations§
impl Freeze for CreatedSnapshot
impl RefUnwindSafe for CreatedSnapshot
impl Send for CreatedSnapshot
impl Sync for CreatedSnapshot
impl Unpin for CreatedSnapshot
impl UnsafeUnpin for CreatedSnapshot
impl UnwindSafe for CreatedSnapshot
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