Struct seed_riscv::block::ReadToken
source · pub struct ReadToken<M> {
pub data: NonNull<[u8; 512]>,
meta: M,
}
Expand description
Represents a block that has been read from a BlockDevice
. Must be freed using
BlockDevice::free_read_block
.
Fields§
§data: NonNull<[u8; 512]>
§meta: M
Auto Trait Implementations§
impl<M> Freeze for ReadToken<M>where
M: Freeze,
impl<M> RefUnwindSafe for ReadToken<M>where
M: RefUnwindSafe,
impl<M> !Send for ReadToken<M>
impl<M> !Sync for ReadToken<M>
impl<M> Unpin for ReadToken<M>where
M: Unpin,
impl<M> UnwindSafe for ReadToken<M>where
M: UnwindSafe,
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