pub trait FilesystemSourceProvider:
Send
+ Sync
+ 'static {
// Required methods
fn state<'life0, 'async_trait>(
&'life0 self,
scope: HostedSourceScope,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn reconcile<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn rescan<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn seal<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Deployment extension for a remotely owned attached source.
Required Methods§
Sourcefn state<'life0, 'async_trait>(
&'life0 self,
scope: HostedSourceScope,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn state<'life0, 'async_trait>(
&'life0 self,
scope: HostedSourceScope,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the current source state without mutation.
Sourcefn reconcile<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reconcile<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Captures one bounded contiguous source interval.
Sourcefn rescan<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rescan<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Rebuilds a complete authenticated source baseline.
Sourcefn seal<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn seal<'life0, 'async_trait>(
&'life0 self,
operation: HostedSourceOperation,
) -> Pin<Box<dyn Future<Output = Result<HostedSourceResult, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Produces a generation independent of the attached source.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".