Trait kernel::process_checker::Compress

source ·
pub trait Compress {
    // Required method
    fn to_short_id(&self, process: &ProcessBinary) -> ShortId;
}
Expand description

Transforms Application Credentials into a corresponding ShortId.

Required Methods§

source

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 toSome()` with that credential.

Implementations on Foreign Types§

source§

impl Compress for ()

source§

fn to_short_id(&self, _process: &ProcessBinary) -> ShortId

Implementors§