Skip to main content

Compress

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Compress for ()

Source§

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

Implementors§