pub struct DefaultPolicyTable;Expand description
Default policy table implementing §17.
Implementations§
Source§impl DefaultPolicyTable
impl DefaultPolicyTable
Sourcepub fn resolve(input: &Input, runtime_idle: bool) -> PolicyDecision
pub fn resolve(input: &Input, runtime_idle: bool) -> PolicyDecision
Resolve a policy decision for the given input and runtime state.
If the input carries an explicit handling_mode, the override is
honored for actionable input kinds only. Response progress
(peer_response_progress) always falls through to kind-based
defaults — the policy table does not apply handling_mode overrides
for progress updates. Response terminal inputs honor handling_mode
normally.
Sourcepub fn resolve_by_kind(kind: &KindId, runtime_idle: bool) -> PolicyDecision
pub fn resolve_by_kind(kind: &KindId, runtime_idle: bool) -> PolicyDecision
Resolve by kind ID (for testing and extensibility).
Auto Trait Implementations§
impl Freeze for DefaultPolicyTable
impl RefUnwindSafe for DefaultPolicyTable
impl Send for DefaultPolicyTable
impl Sync for DefaultPolicyTable
impl Unpin for DefaultPolicyTable
impl UnsafeUnpin for DefaultPolicyTable
impl UnwindSafe for DefaultPolicyTable
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