Skip to main content

PublicationGate

Trait PublicationGate 

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

Source

fn check(&self, path: &ObjectPath) -> Result<(), StorageError>

Refuse without sending when this path cannot currently be published.

Implementors§