Trait Pinner
Source pub trait Pinner:
Debug
+ Send
+ Sync {
// Required methods
fn load_bytes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
fs: &'life2 Operator,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn snapshot<'life0, 'life1, 'async_trait>(
&'life0 mut self,
fs: &'life1 Operator,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided method
fn load<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
fs: &'life2 Operator,
) -> Pin<Box<dyn Future<Output = Result<Option<String>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait { ... }
}