[−][src]Trait read_write_at::WriteAt
Write counterpart of ReadAt
.
Required methods
fn write_at(&self, buf: &[u8], offset: u64) -> Result<usize>
Writes data contained in buffer buf
at offset offset
. May actually write less bytes than you request.
Obviously, it is expected to change information referenced by this object despite of accepting &self
,
but properties of the writer itself (such as current position, if one exist) should not be changed.
Provided methods
fn write_all_at(&self, buf: &[u8], offset: u64) -> Result<()>
Similar to write_at
, but without short writes.
Implementations on Foreign Types
impl WriteAt for File
[src]
fn write_at(&self, buf: &[u8], offset: u64) -> Result<usize>
[src]
fn write_all_at(&self, buf: &[u8], offset: u64) -> Result<()>
[src]
impl<T: ?Sized> WriteAt for RefCell<T> where
T: WriteAtMut,
[src]
T: WriteAtMut,
fn write_at(&self, buf: &[u8], offset: u64) -> Result<usize>
[src]
fn write_all_at(&self, buf: &[u8], offset: u64) -> Result<()>
[src]
impl<T: ?Sized> WriteAt for Mutex<T> where
T: WriteAtMut,
[src]
T: WriteAtMut,