pub trait ProvidesLocalStoragePolicy {
// Required method
fn local_storage_policy(&self) -> &LocalStoragePolicy;
}Expand description
Access to the server’s LocalStoragePolicy.
Implemented by the server handler so request handlers (defined as blanket
impls over a generic T) can reach the server-wide allowlist that governs
which host paths may back a file:// storage location. Mirrors
ProvidesCommitCoordinator.
Required Methods§
fn local_storage_policy(&self) -> &LocalStoragePolicy
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".