pub trait PublicationGate: Send + Sync {
// Required method
fn check(&self, path: &ObjectPath) -> Result<(), StorageError>;
}Expand description
Re-evaluates the installation’s authority immediately before a native request. This capability carries no provider IO and must include elapsed sleep time.
Required Methods§
Sourcefn check(&self, path: &ObjectPath) -> Result<(), StorageError>
fn check(&self, path: &ObjectPath) -> Result<(), StorageError>
Refuse without sending when this path cannot currently be published.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".