pub struct LocalStorageProvider;Expand description
本地存储提供商
用于本地开发环境的简单存储实现
Trait Implementations§
Source§impl StorageProvider for LocalStorageProvider
impl StorageProvider for LocalStorageProvider
Source§fn sign_url(&self, path: &str, config: &StorageConfig) -> StorageResult<Url>
fn sign_url(&self, path: &str, config: &StorageConfig) -> StorageResult<Url>
获取带签名的访问 URL
Source§fn get_presigned_put_url(
&self,
key: &str,
config: &StorageConfig,
) -> StorageResult<Url>
fn get_presigned_put_url( &self, key: &str, config: &StorageConfig, ) -> StorageResult<Url>
获取上传预签名 URL
Auto Trait Implementations§
impl Freeze for LocalStorageProvider
impl RefUnwindSafe for LocalStorageProvider
impl Send for LocalStorageProvider
impl Sync for LocalStorageProvider
impl Unpin for LocalStorageProvider
impl UnsafeUnpin for LocalStorageProvider
impl UnwindSafe for LocalStorageProvider
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