[][src]Struct memflow::mem::phys_mem_batcher::PhysicalMemoryBatcher

pub struct PhysicalMemoryBatcher<'a, T: PhysicalMemory> { /* fields omitted */ }

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]

pub fn write_raw_iter<VI: PhysicalWriteIterator<'a>>(
    &mut self,
    iter: VI
) -> &mut Self
[src]

pub fn read_raw_into<'b: 'a>(
    &mut self,
    addr: PhysicalAddress,
    out: &'b mut [u8]
) -> &mut Self
[src]

pub fn read_into<'b: 'a, F: Pod + ?Sized>(
    &mut self,
    addr: PhysicalAddress,
    out: &'b mut F
) -> &mut Self
[src]

pub fn write_raw_into<'b: 'a>(
    &mut self,
    addr: PhysicalAddress,
    out: &'b [u8]
) -> &mut Self
[src]

pub fn write_into<'b: 'a, F: Pod + ?Sized>(
    &mut self,
    addr: PhysicalAddress,
    out: &'b F
) -> &mut Self
[src]

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

impl<'a, T> Send for PhysicalMemoryBatcher<'a, T>

impl<'a, T> Sync for PhysicalMemoryBatcher<'a, T> where
    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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.