pub struct S3FilesystemConfig {Show 17 fields
pub cache_config: CacheConfig,
pub readdir_size: usize,
pub uid: u32,
pub gid: u32,
pub dir_mode: u16,
pub file_mode: u16,
pub allow_delete: bool,
pub allow_overwrite: bool,
pub allow_rename: bool,
pub incremental_upload: bool,
pub storage_class: Option<String>,
pub s3_personality: S3Personality,
pub server_side_encryption: ServerSideEncryption,
pub use_upload_checksums: bool,
pub mem_limit: u64,
pub prefetcher_config: PrefetcherConfig,
pub max_background_fuse_requests: Option<u16>,
}Fields§
§cache_config: CacheConfigKernel cache config
readdir_size: usizeReaddir page size
uid: u32User id
gid: u32Group id
dir_mode: u16Directory permissions
file_mode: u16File permissions
allow_delete: boolAllow delete
allow_overwrite: boolAllow overwrite
allow_rename: boolAllow renames
incremental_upload: boolEnable incremental uploads
storage_class: Option<String>Storage class to be used for new object uploads
s3_personality: S3PersonalityS3 personality (for different S3 semantics)
server_side_encryption: ServerSideEncryptionServer side encryption configuration to be used when creating new S3 object
use_upload_checksums: boolUse additional checksums for uploads
mem_limit: u64Memory limit
prefetcher_config: PrefetcherConfigPrefetcher configuration
max_background_fuse_requests: Option<u16>Limits the number of concurrent FUSE requests that the kernel may send. Default is 64.
This option may also be configured by UNSTABLE_MOUNTPOINT_MAX_BACKGROUND environment variable,
but the value specified in the config takes priority.
Implementations§
Source§impl S3FilesystemConfig
impl S3FilesystemConfig
pub fn write_mode(&self) -> WriteMode
pub fn max_background_fuse_requests(&self) -> Option<u16>
pub fn fuse_congestion_threshold(&self) -> Option<u16>
Trait Implementations§
Source§impl Debug for S3FilesystemConfig
impl Debug for S3FilesystemConfig
Auto Trait Implementations§
impl Freeze for S3FilesystemConfig
impl RefUnwindSafe for S3FilesystemConfig
impl Send for S3FilesystemConfig
impl Sync for S3FilesystemConfig
impl Unpin for S3FilesystemConfig
impl UnwindSafe for S3FilesystemConfig
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