Enum kernel::process_checker::CheckResult
source · pub enum CheckResult {
Accept(Option<CheckResultAcceptMetadata>),
Pass,
Reject,
}
Expand description
What a AppCredentialsChecker decided a particular application’s credential indicates about the runnability of an application binary.
Variants§
Accept(Option<CheckResultAcceptMetadata>)
Accept the credential and run the binary.
The associated value is an optional opaque usize the credential checker can return to communication some information about the accepted credential.
Pass
Go to the next credential or in the case of the last one fall back to the default policy.
Reject
Reject the credential and do not run the binary.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnwindSafe for CheckResult
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