pub trait PutAddress {
    // Required method
    fn put_address(&self, addr: usize, buf: &[u8]) -> Result<(), Error>;
}
Expand description

A trait that defines that it is possible to put a buffer into the memory of something represented by a type.

Required Methods§

fn put_address(&self, addr: usize, buf: &[u8]) -> Result<(), Error>

Put the data from a user-defined buffer at an address.

Errors

std::io::Error if an error occurs copying the address.

Implementations on Foreign Types§

§

impl PutAddress for (i32, Architecture)

§

fn put_address(&self, addr: usize, buf: &[u8]) -> Result<(), Error>

Implementors§