kernel::process_checker

Trait 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§