Skip to main content

ProvidesLocalStoragePolicy

Trait ProvidesLocalStoragePolicy 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§