Enum biscuit_auth::error::Logic [−][src]
pub enum Logic {
InvalidAuthorityFact(String),
InvalidAmbientFact(String),
InvalidBlockFact(u32, String),
InvalidBlockRule(u32, String),
Unauthorized {
policy: MatchedPolicy,
checks: Vec<FailedCheck>,
},
AuthorizerNotEmpty,
NoMatchingPolicy {
checks: Vec<FailedCheck>,
},
}Expand description
errors in the Datalog evaluation
Variants
InvalidAuthorityFact(String)
Tuple Fields
0: StringInvalidAmbientFact(String)
Tuple Fields
0: StringInvalidBlockFact(u32, String)
InvalidBlockRule(u32, String)
Unauthorized
Fields
the policy that matched
list of checks that failed validation
AuthorizerNotEmpty
NoMatchingPolicy
Fields
checks: Vec<FailedCheck>list of checks that failed validation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Logic
impl UnwindSafe for Logic
Blanket Implementations
Mutably borrows from an owned value. Read more
