pub trait CommitSupport<H>: Send + Sync {
// Required method
fn commit<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 RequestContext,
handle: &'life2 H,
offset: u64,
count: u32,
) -> Pin<Box<dyn Future<Output = FsResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Optional explicit commit support.
Required Methods§
Sourcefn commit<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 RequestContext,
handle: &'life2 H,
offset: u64,
count: u32,
) -> Pin<Box<dyn Future<Output = FsResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn commit<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 RequestContext,
handle: &'life2 H,
offset: u64,
count: u32,
) -> Pin<Box<dyn Future<Output = FsResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Flush buffered writes for a byte range.