pub struct FileSystemCapabilities {Show 17 fields
pub hierarchical_paths: bool,
pub directories: bool,
pub empty_directories: bool,
pub symlinks: bool,
pub range_read: bool,
pub append: bool,
pub random_write: bool,
pub atomic_rename: bool,
pub atomic_replace: bool,
pub conditional_write: bool,
pub server_side_copy: bool,
pub recursive_delete: bool,
pub temp_file: bool,
pub temp_dir: bool,
pub temp_persist: bool,
pub temp_persist_atomic: bool,
pub native_metadata: bool,
}Expand description
Static capability hints exposed by one filesystem implementation.
Fields§
§hierarchical_paths: boolWhether the backend has hierarchical path semantics.
directories: boolWhether the backend supports directories.
empty_directories: boolWhether the backend can represent empty directories.
symlinks: boolWhether the backend supports symbolic links.
range_read: boolWhether range reads are supported.
append: boolWhether append writes are supported.
random_write: boolWhether random writes are supported.
atomic_rename: boolWhether rename can be atomic.
atomic_replace: boolWhether replacement writes can be atomic.
conditional_write: boolWhether conditional write operations are supported.
server_side_copy: boolWhether server-side copy is supported.
recursive_delete: boolWhether recursive delete is supported.
temp_file: boolWhether temporary files are supported.
temp_dir: boolWhether temporary directories are supported.
temp_persist: boolWhether temporary resource persistence is supported.
temp_persist_atomic: boolWhether temporary resource persistence can be atomic.
native_metadata: boolWhether provider-native metadata is exposed.
Trait Implementations§
Source§impl Clone for FileSystemCapabilities
impl Clone for FileSystemCapabilities
Source§fn clone(&self) -> FileSystemCapabilities
fn clone(&self) -> FileSystemCapabilities
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FileSystemCapabilities
impl Debug for FileSystemCapabilities
Source§impl Default for FileSystemCapabilities
impl Default for FileSystemCapabilities
Source§fn default() -> FileSystemCapabilities
fn default() -> FileSystemCapabilities
Source§impl PartialEq for FileSystemCapabilities
impl PartialEq for FileSystemCapabilities
Source§fn eq(&self, other: &FileSystemCapabilities) -> bool
fn eq(&self, other: &FileSystemCapabilities) -> bool
self and other values to be equal, and is used by ==.