pub struct MountpointConfig { /* private fields */ }Expand description
Configuration for a Mountpoint session
Implementations§
Source§impl MountpointConfig
impl MountpointConfig
pub fn new( fuse_session_config: FuseSessionConfig, filesystem_config: S3FilesystemConfig, data_cache_config: DataCacheConfig, ) -> Self
Sourcepub fn error_logger(
self,
error_logger: impl ErrorLogger + Send + Sync + 'static,
) -> Self
pub fn error_logger( self, error_logger: impl ErrorLogger + Send + Sync + 'static, ) -> Self
Set the Self::error_logger field
Sourcepub fn create_fuse_session<Client>(
self,
metablock: impl Metablock + 'static,
client: Client,
runtime: Runtime,
memory_pool: PagedPool,
) -> Result<FuseSession>
pub fn create_fuse_session<Client>( self, metablock: impl Metablock + 'static, client: Client, runtime: Runtime, memory_pool: PagedPool, ) -> Result<FuseSession>
Create a new FUSE session
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MountpointConfig
impl !RefUnwindSafe for MountpointConfig
impl Send for MountpointConfig
impl Sync for MountpointConfig
impl Unpin for MountpointConfig
impl !UnwindSafe for MountpointConfig
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