pub struct ExecutionContextDescriptionBuilder { /* private fields */ }Available on crate feature
Runtime only.Implementations§
Source§impl ExecutionContextDescriptionBuilder
impl ExecutionContextDescriptionBuilder
Sourcepub fn id(&mut self, v: ExecutionContextId) -> &mut Self
pub fn id(&mut self, v: ExecutionContextId) -> &mut Self
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(&mut self, v: String) -> &mut Self
Available on crate feature experimental only.
pub fn unique_id(&mut self, v: String) -> &mut Self
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(&mut self, v: ExecutionContextDescriptionAuxData) -> &mut Self
pub fn aux_data(&mut self, v: ExecutionContextDescriptionAuxData) -> &mut Self
Embedder-specific auxiliary data.
pub fn build(&mut self) -> Result<ExecutionContextDescription, &'static str>
Trait Implementations§
Source§impl Clone for ExecutionContextDescriptionBuilder
impl Clone for ExecutionContextDescriptionBuilder
Source§fn clone(&self) -> ExecutionContextDescriptionBuilder
fn clone(&self) -> ExecutionContextDescriptionBuilder
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 moreAuto Trait Implementations§
impl Freeze for ExecutionContextDescriptionBuilder
impl RefUnwindSafe for ExecutionContextDescriptionBuilder
impl Send for ExecutionContextDescriptionBuilder
impl Sync for ExecutionContextDescriptionBuilder
impl Unpin for ExecutionContextDescriptionBuilder
impl UnwindSafe for ExecutionContextDescriptionBuilder
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