Function mem::copy
[−]
[src]
pub fn copy<T: MemoryBlock>(src: &T, dst: &mut T) -> Result<Addr, Error>
Copy all of the src
memory block to dst
.
Returns Ok(writtenbytes)
to signify writtenbytes
bytes have been copied,
or Err(error)
if some error happened during copying.