pub struct Spawn { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Pinner for Spawn
impl Pinner for Spawn
Source§fn load_bytes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
object_store: &'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 load_bytes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
object_store: &'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,
Returns the file from the store if it exists.
fn snapshot<'life0, 'life1, 'async_trait>(
&'life0 mut self,
object_store: &'life1 Operator,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
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,
Auto Trait Implementations§
impl Freeze for Spawn
impl RefUnwindSafe for Spawn
impl Send for Spawn
impl Sync for Spawn
impl Unpin for Spawn
impl UnsafeUnpin for Spawn
impl UnwindSafe for Spawn
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