Trait guestmem::MemoryWrite
source · pub trait MemoryWrite {
// Required methods
fn write(&mut self, data: &[u8]) -> Result<(), AccessError>;
fn zero(&mut self, len: usize) -> Result<(), AccessError>;
fn len(&self) -> usize;
// Provided method
fn limit(self, len: usize) -> Limit<Self>
where Self: Sized { ... }
}