pub struct SnapshotReader { /* private fields */ }Implementations§
Source§impl SnapshotReader
impl SnapshotReader
pub fn new() -> Self
pub fn with_encryption(self, key: EncryptionKey) -> Self
pub fn read_from_file<P: AsRef<Path>>(&self, path: P) -> Result<PackedSnapshot>
pub fn read_from_bytes(&self, bytes: &[u8]) -> Result<PackedSnapshot>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SnapshotReader
impl RefUnwindSafe for SnapshotReader
impl Send for SnapshotReader
impl Sync for SnapshotReader
impl Unpin for SnapshotReader
impl UnwindSafe for SnapshotReader
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