pub struct StorageRegistration {
pub name: &'static str,
pub factory: fn() -> Arc<dyn StorageProviderFactory>,
}Expand description
Registration entry for auto-discovered storage providers.
Fields§
§name: &'static strCanonical storage platform name (e.g. "s3").
factory: fn() -> Arc<dyn StorageProviderFactory>Factory function that constructs the storage provider.
Implementations§
Trait Implementations§
impl Collect for StorageRegistration
Auto Trait Implementations§
impl Freeze for StorageRegistration
impl RefUnwindSafe for StorageRegistration
impl Send for StorageRegistration
impl Sync for StorageRegistration
impl Unpin for StorageRegistration
impl UnsafeUnpin for StorageRegistration
impl UnwindSafe for StorageRegistration
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