pub struct BackendCapabilities {
pub is_read_only: bool,
pub case_sensitive: bool,
}Expand description
Static, advertised capabilities of a backend.
Fields§
§is_read_only: boolIf true, all write-class operations are denied at the protocol layer
before reaching the backend (matches LocalFsBackend::read_only()).
case_sensitive: boolTrue iff the backend treats names case-sensitively.
Trait Implementations§
Source§impl Clone for BackendCapabilities
impl Clone for BackendCapabilities
impl Copy for BackendCapabilities
Source§impl Debug for BackendCapabilities
impl Debug for BackendCapabilities
Auto Trait Implementations§
impl Freeze for BackendCapabilities
impl RefUnwindSafe for BackendCapabilities
impl Send for BackendCapabilities
impl Sync for BackendCapabilities
impl Unpin for BackendCapabilities
impl UnsafeUnpin for BackendCapabilities
impl UnwindSafe for BackendCapabilities
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