pub struct SeekableAsyncFile { /* private fields */ }Expand description
A File-like value that can perform async read_at and write_at for I/O at specific offsets without mutating any state (i.e. is thread safe). Metrics are collected, and syncs can be delayed for write batching opportunities as a performance optimisation.
Implementations§
Source§impl SeekableAsyncFile
impl SeekableAsyncFile
pub async fn open( io: Arc<dyn IAsyncIO>, metrics: Arc<SeekableAsyncFileMetrics>, sync_delay: Duration, ) -> Self
pub async fn read_at(&self, offset: u64, len: u64) -> Vec<u8> ⓘ
pub async fn write_at<D: AsRef<[u8]> + Send + 'static>( &self, offset: u64, data: D, )
pub async fn write_at_with_delayed_sync<D: AsRef<[u8]> + Send + 'static>( &self, writes: impl IntoIterator<Item = WriteRequest<D>>, )
pub async fn start_delayed_data_sync_background_loop(&self)
pub async fn sync_data(&self)
Trait Implementations§
Source§impl Clone for SeekableAsyncFile
impl Clone for SeekableAsyncFile
Source§fn clone(&self) -> SeekableAsyncFile
fn clone(&self) -> SeekableAsyncFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Off64AsyncRead<'a, Vec<u8>> for SeekableAsyncFile
impl<'a> Off64AsyncRead<'a, Vec<u8>> for SeekableAsyncFile
Source§impl<'a> Off64AsyncReadChrono<'a, Vec<u8>> for SeekableAsyncFile
impl<'a> Off64AsyncReadChrono<'a, Vec<u8>> for SeekableAsyncFile
fn read_timestamp_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = DateTime<Utc>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_timestamp_millis_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = DateTime<Utc>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_timestamp_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = DateTime<Utc>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_timestamp_millis_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = DateTime<Utc>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
Source§impl<'a> Off64AsyncReadInt<'a, Vec<u8>> for SeekableAsyncFile
impl<'a> Off64AsyncReadInt<'a, Vec<u8>> for SeekableAsyncFile
fn read_i8_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i8> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u8_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u8> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i16_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i16> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i16_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i16> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u16_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u16> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u16_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u16> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i24_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i24_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u24_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u24_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i32_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i32_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u32_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u32_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u32> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i40_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i40_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u40_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u40_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i48_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i48_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u48_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u48_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i56_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i56_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u56_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u56_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i64_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i64_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u64_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u64_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i72_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i72_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u72_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u72_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i80_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i80_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u80_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u80_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i88_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i88_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u88_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u88_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i96_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i96_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u96_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u96_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i104_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i104_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u104_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u104_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i112_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i112_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u112_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u112_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i120_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i120_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u120_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u120_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i128_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_i128_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = i128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u128_be_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
fn read_u128_le_at<'async_trait>(
&'a self,
offset: u64,
) -> Pin<Box<dyn Future<Output = u128> + Send + 'async_trait>>where
'a: 'async_trait,
Self: Sync + 'async_trait,
Source§impl Off64AsyncWrite for SeekableAsyncFile
impl Off64AsyncWrite for SeekableAsyncFile
Source§impl Off64AsyncWriteChrono for SeekableAsyncFile
impl Off64AsyncWriteChrono for SeekableAsyncFile
fn write_timestamp_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: DateTime<Utc>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_timestamp_millis_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: DateTime<Utc>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_timestamp_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: DateTime<Utc>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_timestamp_millis_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: DateTime<Utc>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
Source§impl Off64AsyncWriteInt for SeekableAsyncFile
impl Off64AsyncWriteInt for SeekableAsyncFile
fn write_i8_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i8,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u8_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u8,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i16_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i16,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i16_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i16,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u16_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u16,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u16_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u16,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i24_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i24_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u24_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u24_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i32_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i32_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u32_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u32_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i40_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i40_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u40_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u40_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i48_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i48_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u48_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u48_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i56_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i56_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u56_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u56_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i64_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i64_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u64_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u64_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i72_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i72_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u72_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u72_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i80_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i80_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u80_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u80_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i88_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i88_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u88_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u88_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i96_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i96_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u96_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u96_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i104_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i104_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u104_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u104_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i112_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i112_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u112_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u112_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i120_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i120_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u120_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u120_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i128_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_i128_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: i128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u128_be_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn write_u128_le_at<'life0, 'async_trait>(
&'life0 self,
offset: u64,
value: u128,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
Auto Trait Implementations§
impl Freeze for SeekableAsyncFile
impl !RefUnwindSafe for SeekableAsyncFile
impl Send for SeekableAsyncFile
impl Sync for SeekableAsyncFile
impl Unpin for SeekableAsyncFile
impl !UnwindSafe for SeekableAsyncFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more