pub enum ScopeMatchError {
OutOfScope,
ConstraintError(String),
}Expand description
Errors that can be raised by the portable scope matcher.
The full matcher in chio-kernel surfaces richer error variants
(invalid-constraint, attestation-trust, etc.); the portable core
returns the two coarse-grained cases that do not require regex or
other IO-adjacent machinery.
Variants§
OutOfScope
No grant in the scope covers the requested (server, tool, Invoke).
ConstraintError(String)
The portable kernel cannot safely evaluate a constraint carried by a target-matching grant.
Trait Implementations§
Source§impl Clone for ScopeMatchError
impl Clone for ScopeMatchError
Source§fn clone(&self) -> ScopeMatchError
fn clone(&self) -> ScopeMatchError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopeMatchError
impl Debug for ScopeMatchError
Source§impl PartialEq for ScopeMatchError
impl PartialEq for ScopeMatchError
impl Eq for ScopeMatchError
impl StructuralPartialEq for ScopeMatchError
Auto Trait Implementations§
impl Freeze for ScopeMatchError
impl RefUnwindSafe for ScopeMatchError
impl Send for ScopeMatchError
impl Sync for ScopeMatchError
impl Unpin for ScopeMatchError
impl UnsafeUnpin for ScopeMatchError
impl UnwindSafe for ScopeMatchError
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