pub struct VmgsStorageBackend {
vmgs: Vmgs,
file_id: FileId,
encrypted: bool,
}
Expand description
A StorageBackend
implementation for VMGS files.
Fields§
§vmgs: Vmgs
§file_id: FileId
§encrypted: bool
Implementations§
Source§impl VmgsStorageBackend
impl VmgsStorageBackend
Sourcepub fn new(
vmgs: Vmgs,
file_id: FileId,
encrypted: bool,
) -> Result<Self, EncryptionNotSupported>
pub fn new( vmgs: Vmgs, file_id: FileId, encrypted: bool, ) -> Result<Self, EncryptionNotSupported>
Create a new StorageBackend
object backed by a particular VMGS
file-id.
Trait Implementations§
Source§impl StorageBackend for VmgsStorageBackend
impl StorageBackend for VmgsStorageBackend
Auto Trait Implementations§
impl Freeze for VmgsStorageBackend
impl !RefUnwindSafe for VmgsStorageBackend
impl Send for VmgsStorageBackend
impl Sync for VmgsStorageBackend
impl Unpin for VmgsStorageBackend
impl !UnwindSafe for VmgsStorageBackend
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