Trait btfproto::local_fs::Authorizer
source · pub trait Authorizer {
// Required methods
fn can_read(&self, ctx: &AuthzContext<'_>) -> Result<()>;
fn can_write(&self, ctx: &AuthzContext<'_>) -> Result<()>;
fn can_exec(&self, ctx: &AuthzContext<'_>) -> Result<()>;
}
Expand description
A trait for types which can render authorization decisions.