pub struct OwnedRwSlice { /* private fields */ }Expand description
Owned, read-WRITE slice over an Arc<dyn BlockDevice>. Use when the
parent is writable and the slice should propagate writes (e.g. an
individual partition handed to a filesystem driver). Reads + writes
outside [0, length) return Error::ShortRead / Error::OutOfBounds.
Implementations§
Trait Implementations§
Source§impl BlockDevice for OwnedRwSlice
impl BlockDevice for OwnedRwSlice
Auto Trait Implementations§
impl !RefUnwindSafe for OwnedRwSlice
impl !UnwindSafe for OwnedRwSlice
impl Freeze for OwnedRwSlice
impl Send for OwnedRwSlice
impl Sync for OwnedRwSlice
impl Unpin for OwnedRwSlice
impl UnsafeUnpin for OwnedRwSlice
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