pub trait ProcessCheckerMachineClient {
// Required method
fn done(
&self,
process_binary: ProcessBinary,
result: Result<Option<AcceptedCredential>, ProcessCheckError>,
);
}
Expand description
Client interface for the outcome of a process credential check.
Required Methods§
sourcefn done(
&self,
process_binary: ProcessBinary,
result: Result<Option<AcceptedCredential>, ProcessCheckError>,
)
fn done( &self, process_binary: ProcessBinary, result: Result<Option<AcceptedCredential>, ProcessCheckError>, )
Check is finished, and the check result is in result
.0
If result
is Ok(Option<Credentials>)
, the credentials were either
accepted and the accepted credential is provided, or no credentials were
accepted but none is required.
If result
is Err
, the credentials were not accepted and the policy
denied approving the app.