pub struct ProcessConfig {
pub cwd: String,
pub env: HashMap<String, String>,
pub timing_mitigation: String,
pub frozen_time_ms: Option<f64>,
pub high_resolution_time: bool,
}Expand description
Process configuration injected into the V8 global as _processConfig
Fields§
§cwd: String§env: HashMap<String, String>§timing_mitigation: String§frozen_time_ms: Option<f64>§high_resolution_time: boolTrait Implementations§
Source§impl Clone for ProcessConfig
impl Clone for ProcessConfig
Source§fn clone(&self) -> ProcessConfig
fn clone(&self) -> ProcessConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessConfig
impl Debug for ProcessConfig
Source§impl PartialEq for ProcessConfig
impl PartialEq for ProcessConfig
Source§fn eq(&self, other: &ProcessConfig) -> bool
fn eq(&self, other: &ProcessConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcessConfig
Auto Trait Implementations§
impl Freeze for ProcessConfig
impl RefUnwindSafe for ProcessConfig
impl Send for ProcessConfig
impl Sync for ProcessConfig
impl Unpin for ProcessConfig
impl UnsafeUnpin for ProcessConfig
impl UnwindSafe for ProcessConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more