#[non_exhaustive]pub enum Stage {
Show 16 variants
ManagedUnreadable,
UnknownTool,
Credentials,
Hook,
ToolRefusal,
Confinement,
Rule,
ManagedRule,
DelegateRule,
BypassImmune,
PlanMode,
DontAsk,
Configuration,
ModeDefault,
Attendance,
HostSkillDir,
}Expand description
Where in the policy’s order a call was refused or asked about.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ManagedUnreadable
UnknownTool
Credentials
Hook
ToolRefusal
Confinement
The session’s sandbox cannot hold the command as fully as
sandbox.require demands.
Rule
ManagedRule
DelegateRule
A rule the delegate runs under: its type’s deny rules.
BypassImmune
PlanMode
DontAsk
Configuration
A write to the agent’s or the repository’s configuration, which the tool’s own word does not let through.
ModeDefault
Attendance
HostSkillDir
A write under a skill directory a host listed for some session
(options.skill_dirs): read-only to every session.
Implementations§
Trait Implementations§
impl Copy for Stage
impl Eq for Stage
impl StructuralPartialEq for Stage
Auto Trait Implementations§
impl Forget for Stage
impl Freeze for Stage
impl Move for Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnsafeUnpin for Stage
impl UnwindSafe for Stage
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