pub struct NodeInfo {
pub path: PathBuf,
pub version: (u32, u32, u32),
pub tz: String,
pub icu: String,
pub load_hooks: bool,
}Expand description
A Node that can run the worker.
Fields§
§path: PathBufAs given (BRRRTY_NODE) or found on PATH.
version: (u32, u32, u32)§tz: Stringprocess.versions.tz, the time zone data it formats dates with.
icu: Stringprocess.versions.icu.
load_hooks: boolmodule.registerHooks exists (22.15 and later), so the worker can
record every module it loads.
Implementations§
Trait Implementations§
impl Eq for NodeInfo
impl StructuralPartialEq for NodeInfo
Auto Trait Implementations§
impl Forget for NodeInfo
impl Freeze for NodeInfo
impl Move for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfo
impl UnwindSafe for NodeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.