pub struct FileUpdateProviderFactory;Expand description
Factory for the local-first file update provider.
Trait Implementations§
Source§impl Clone for FileUpdateProviderFactory
impl Clone for FileUpdateProviderFactory
Source§fn clone(&self) -> FileUpdateProviderFactory
fn clone(&self) -> FileUpdateProviderFactory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FileUpdateProviderFactory
Source§impl Debug for FileUpdateProviderFactory
impl Debug for FileUpdateProviderFactory
Source§impl Default for FileUpdateProviderFactory
impl Default for FileUpdateProviderFactory
Source§fn default() -> FileUpdateProviderFactory
fn default() -> FileUpdateProviderFactory
Returns the “default value” for a type. Read more
Source§impl ProviderFactory<Arc<dyn UpdateProvider>> for FileUpdateProviderFactory
impl ProviderFactory<Arc<dyn UpdateProvider>> for FileUpdateProviderFactory
Source§fn role(&self) -> ProviderRole
fn role(&self) -> ProviderRole
Infrastructure role implemented by this factory.
Source§fn provider_id(&self) -> &'static str
fn provider_id(&self) -> &'static str
Stable provider identity selected in deployment manifests.
Source§fn create(
&self,
config: &ProviderConfig,
_context: &ProviderContext,
_secrets: &dyn SecretProvider,
) -> ProviderResult<SharedUpdateProvider>
fn create( &self, config: &ProviderConfig, _context: &ProviderContext, _secrets: &dyn SecretProvider, ) -> ProviderResult<SharedUpdateProvider>
Validates configuration and constructs a provider instance.
Auto Trait Implementations§
impl Freeze for FileUpdateProviderFactory
impl RefUnwindSafe for FileUpdateProviderFactory
impl Send for FileUpdateProviderFactory
impl Sync for FileUpdateProviderFactory
impl Unpin for FileUpdateProviderFactory
impl UnsafeUnpin for FileUpdateProviderFactory
impl UnwindSafe for FileUpdateProviderFactory
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