pub struct ExecutionContextDescription { /* private fields */ }Available on crate feature
Runtime only.Expand description
Description of an isolated world.
Implementations§
Source§impl ExecutionContextDescription
impl ExecutionContextDescription
pub fn builder() -> ExecutionContextDescriptionBuilder
Sourcepub fn id(&self) -> &ExecutionContextId
pub fn id(&self) -> &ExecutionContextId
Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
Sourcepub fn unique_id(&self) -> &str
Available on crate feature experimental only.
pub fn unique_id(&self) -> &str
experimental only.A system-unique execution context identifier. Unlike the id, this is unique accross multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.
Sourcepub fn aux_data(&self) -> Option<&ExecutionContextDescriptionAuxData>
pub fn aux_data(&self) -> Option<&ExecutionContextDescriptionAuxData>
Embedder-specific auxiliary data.
Trait Implementations§
Source§impl Clone for ExecutionContextDescription
impl Clone for ExecutionContextDescription
Source§fn clone(&self) -> ExecutionContextDescription
fn clone(&self) -> ExecutionContextDescription
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecutionContextDescription
impl Debug for ExecutionContextDescription
Source§impl<'de> Deserialize<'de> for ExecutionContextDescription
impl<'de> Deserialize<'de> for ExecutionContextDescription
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutionContextDescription
impl RefUnwindSafe for ExecutionContextDescription
impl Send for ExecutionContextDescription
impl Sync for ExecutionContextDescription
impl Unpin for ExecutionContextDescription
impl UnwindSafe for ExecutionContextDescription
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