pub trait WriteAt {
// Required method
fn write_at(&mut self, buf: &[u8], offs: u64) -> Result<usize>;
// Provided method
fn write_all_at(&mut self, buf: &[u8], offs: u64) -> Result<()> { ... }
}
Expand description
Write data at an offset
Required Methods§
Provided Methods§
Implementations on Foreign Types§
Source§impl<'a> WriteAt for &'a File
File can also be written via ‘&’ (non-mutable reference) due to os intervention
impl<'a> WriteAt for &'a File
File can also be written via ‘&’ (non-mutable reference) due to os intervention
Source§impl<'a, T: WriteAt + ?Sized> WriteAt for &'a mut T
Given a type T that impliments WriteAt, impliment WriteAt for &mut T
impl<'a, T: WriteAt + ?Sized> WriteAt for &'a mut T
Given a type T that impliments WriteAt, impliment WriteAt for &mut T