fn dump<T: std::io::Write>(&self, writer: &mut T) -> std::result::Result<(), Error> {
        self.iter()
            .try_for_each(|region| {
                region.write_all_to(MemoryRegionAddress(0), writer, region.len() as usize)
            })
            .map_err(Error::WriteMemory)
    }
/// Dumps all contents of GuestMemoryMmap to a writer.
Dumps all contents of GuestMemoryMmap to a writer.
Dumps all contents of GuestMemoryMmap to a writer .
fn dump<T: std::io::Write>(&self, writer: &mut T) -> std::result::Result<(), Error> {
        self.iter()
            .try_for_each(|region| {
                region.write_all_to(MemoryRegionAddress(0), writer, region.len() as usize)
            })
            .map_err(Error::WriteMemory)
    }
fn dump < T : std :: io :: Write > ( & self , writer : & mut T ) -> std :: result :: Result < ( ) , Error > { self . iter ( ) . try_for_each ( | region | { region . write_all_to ( MemoryRegionAddress ( 0 ) , writer , region . len ( ) as usize ) } ) . map_err ( Error :: WriteMemory ) }
Dumps all contents of GuestMemoryMmap to a writer.
Dumps all contents of GuestMemoryMmap to a writer .
&self
writer
&mut T
&self
writer
&mut T