pub struct LocalAssetStore {
pub root: PathBuf,
}Fields§
§root: PathBufTrait Implementations§
Source§impl AssetStore for LocalAssetStore
impl AssetStore for LocalAssetStore
fn put<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
object_key: &'life1 str,
_content_type: &'life2 str,
bytes: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
object_key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for LocalAssetStore
impl RefUnwindSafe for LocalAssetStore
impl Send for LocalAssetStore
impl Sync for LocalAssetStore
impl Unpin for LocalAssetStore
impl UnsafeUnpin for LocalAssetStore
impl UnwindSafe for LocalAssetStore
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