pub struct CreateSnapshotOptions {
    pub cargo_manifest_dir: &'static str,
    pub snapshot_path: PathBuf,
    pub startup_snapshot: Option<Snapshot>,
    pub extensions: Vec<Extension>,
    pub additional_files: Vec<PathBuf>,
    pub compression_cb: Option<Box<CompressionCb>>,
}

Fields

cargo_manifest_dir: &'static strsnapshot_path: PathBufstartup_snapshot: Option<Snapshot>extensions: Vec<Extension>additional_files: Vec<PathBuf>compression_cb: Option<Box<CompressionCb>>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.