pub trait Compress {
// Required method
fn to_short_id(&self, process: &ProcessBinary) -> ShortId;
}
Expand description
Transforms Application Credentials into a corresponding ShortId.
Required Methods§
Sourcefn to_short_id(&self, process: &ProcessBinary) -> ShortId
fn to_short_id(&self, process: &ProcessBinary) -> ShortId
Create a ShortId
for process
.
If the process was approved to run because of a specific credential, the
ProcessBinary will have its
credentialfiled set to
Some()` with
that credential.