pub enum Decision {
Allow,
Deny,
Ask,
}Expand description
The verdict for one capability operation, shared across all classes (filesystem, http, sockets, and generic/semantic providers).
Variants§
Allow
Permitted.
Deny
Refused.
Ask
In-ceiling but ask mode: defer to interactive consent. The sync
classifier never prompts; the async caller (e.g. fs_policy::check_path)
resolves this through the DecisionCache / ConsentPrompter.
Trait Implementations§
impl Copy for Decision
impl Eq for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more