pub struct DiskImageAttachment { /* private fields */ }Implementations§
Source§impl DiskImageAttachment
impl DiskImageAttachment
pub fn new(path: &str, read_only: bool) -> Result<Self>
pub fn new_with_options( path: &str, read_only: bool, _caching_mode: DiskImageCachingMode, _sync_mode: DiskImageSynchronizationMode, ) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskImageAttachment
impl RefUnwindSafe for DiskImageAttachment
impl Send for DiskImageAttachment
impl Sync for DiskImageAttachment
impl Unpin for DiskImageAttachment
impl UnsafeUnpin for DiskImageAttachment
impl UnwindSafe for DiskImageAttachment
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