[−][src]Struct memflow::mem::phys_mem_batcher::PhysicalMemoryBatcher
Implementations
impl<'a, T: PhysicalMemory> PhysicalMemoryBatcher<'a, T>
[src]
pub fn new(pmem: &'a mut T) -> Self
[src]
pub fn read_prealloc(&mut self, capacity: usize) -> &mut Self
[src]
pub fn commit_rw(&mut self) -> Result<()>
[src]
pub fn read_raw_iter<VI: PhysicalReadIterator<'a>>(
&mut self,
iter: VI
) -> &mut Self
[src]
&mut self,
iter: VI
) -> &mut Self
pub fn write_raw_iter<VI: PhysicalWriteIterator<'a>>(
&mut self,
iter: VI
) -> &mut Self
[src]
&mut self,
iter: VI
) -> &mut Self
pub fn read_raw_into<'b: 'a>(
&mut self,
addr: PhysicalAddress,
out: &'b mut [u8]
) -> &mut Self
[src]
&mut self,
addr: PhysicalAddress,
out: &'b mut [u8]
) -> &mut Self
pub fn read_into<'b: 'a, F: Pod + ?Sized>(
&mut self,
addr: PhysicalAddress,
out: &'b mut F
) -> &mut Self
[src]
&mut self,
addr: PhysicalAddress,
out: &'b mut F
) -> &mut Self
pub fn write_raw_into<'b: 'a>(
&mut self,
addr: PhysicalAddress,
out: &'b [u8]
) -> &mut Self
[src]
&mut self,
addr: PhysicalAddress,
out: &'b [u8]
) -> &mut Self
pub fn write_into<'b: 'a, F: Pod + ?Sized>(
&mut self,
addr: PhysicalAddress,
out: &'b F
) -> &mut Self
[src]
&mut self,
addr: PhysicalAddress,
out: &'b F
) -> &mut Self
Trait Implementations
impl<'a, T: PhysicalMemory> Drop for PhysicalMemoryBatcher<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for PhysicalMemoryBatcher<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for PhysicalMemoryBatcher<'a, T>
impl<'a, T> Sync for PhysicalMemoryBatcher<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for PhysicalMemoryBatcher<'a, T>
impl<'a, T> !UnwindSafe for PhysicalMemoryBatcher<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,