pub trait SessionFileSystemFactory: Send + Sync {
// Required method
fn create_session_file_system<'life0, 'async_trait>(
&'life0 self,
context: SessionFileSystemFactoryContext,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn SessionFileSystem>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided methods
fn name(&self) -> &'static str { ... }
fn is_disabled(&self) -> bool { ... }
}Expand description
Factory for deployment-selected session filesystem implementations.
Required Methods§
Sourcefn create_session_file_system<'life0, 'async_trait>(
&'life0 self,
context: SessionFileSystemFactoryContext,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn SessionFileSystem>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_session_file_system<'life0, 'async_trait>(
&'life0 self,
context: SessionFileSystemFactoryContext,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn SessionFileSystem>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Resolve a live filesystem from host-provided dependencies.
Provided Methods§
Sourcefn is_disabled(&self) -> bool
fn is_disabled(&self) -> bool
Whether this factory intentionally leaves filesystem selection to the runtime default.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".