macro_rules! process_type {
    ($value:expr) => { ... };
}
Expand description

Construct a ProcessType value at compile time.

Passing a string that is not a valid ProcessType value will yield a compilation error.

§Examples:

use libcnb_data::launch::ProcessType;
use libcnb_data::process_type;

let process_type: ProcessType = process_type!("web");