Struct deno_core::snapshot_util::CreateSnapshotOptions
source · 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 str
snapshot_path: PathBuf
startup_snapshot: Option<Snapshot>
extensions: Vec<Extension>
additional_files: Vec<PathBuf>
compression_cb: Option<Box<CompressionCb>>
Auto Trait Implementations
impl !RefUnwindSafe for CreateSnapshotOptions
impl !Send for CreateSnapshotOptions
impl !Sync for CreateSnapshotOptions
impl Unpin for CreateSnapshotOptions
impl !UnwindSafe for CreateSnapshotOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more