pub struct ExecutionContext<'e> { /* private fields */ }
Expand description
Implementations§
Source§impl<'e> ExecutionContext<'e>
impl<'e> ExecutionContext<'e>
Sourcepub fn new<'s: 'e>(scheme: &'s Scheme) -> Self
pub fn new<'s: 'e>(scheme: &'s Scheme) -> Self
Creates an execution context associated with a given scheme.
This scheme will be used for resolving any field names and indices.
Sourcepub fn set_field_value<'v: 'e, V: Into<LhsValue<'v>>>(
&mut self,
name: &str,
value: V,
) -> Result<(), FieldValueTypeMismatchError>
pub fn set_field_value<'v: 'e, V: Into<LhsValue<'v>>>( &mut self, name: &str, value: V, ) -> Result<(), FieldValueTypeMismatchError>
Sets a runtime value for a given field name.
Auto Trait Implementations§
impl<'e> Freeze for ExecutionContext<'e>
impl<'e> RefUnwindSafe for ExecutionContext<'e>
impl<'e> Send for ExecutionContext<'e>
impl<'e> Sync for ExecutionContext<'e>
impl<'e> Unpin for ExecutionContext<'e>
impl<'e> UnwindSafe for ExecutionContext<'e>
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