Trait pingora_cache::storage::HandleMiss
source · pub trait HandleMiss {
// Required methods
fn write_body<'life0, 'async_trait>(
&'life0 mut self,
data: Bytes,
eof: bool
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn finish<'async_trait>(
self: Box<Self>
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
where Self: 'async_trait;
}Expand description
Cache miss handling trait