Trait photonio_uring::io::WriteAtExt
source · pub trait WriteAtExt {
type WriteAllAt<'a>: 'a + Future<Output = Result<(), Error>>
where
Self: 'a;
fn write_all_at<'a>(&'a self, buf: &'a [u8], pos: u64) -> Self::WriteAllAt<'a>;
}Expand description
Provides extension methods for WriteAt.
Required Associated Types
sourcetype WriteAllAt<'a>: 'a + Future<Output = Result<(), Error>>
where
Self: 'a
type WriteAllAt<'a>: 'a + Future<Output = Result<(), Error>>
where
Self: 'a
A future that resolves to the result of Self::write_all_at.
Required Methods
sourcefn write_all_at<'a>(&'a self, buf: &'a [u8], pos: u64) -> Self::WriteAllAt<'a>
fn write_all_at<'a>(&'a self, buf: &'a [u8], pos: u64) -> Self::WriteAllAt<'a>
Writes all bytes from buf into this object at pos.