pub struct SimpleProcessorsInterpreterContext<'a> {
pub scopes: Scopes<TypedValue>,
pub mode: InterpretMode,
pub runtime: &'a Handle,
pub req: Box<dyn Prr<Vec<u8>>>,
pub res: Option<Box<dyn Prr<Vec<u8>>>>,
}Fields§
§scopes: Scopes<TypedValue>§mode: InterpretMode§runtime: &'a Handle§req: Box<dyn Prr<Vec<u8>>>§res: Option<Box<dyn Prr<Vec<u8>>>>Implementations§
Source§impl<'a> SimpleProcessorsInterpreterContext<'a>
impl<'a> SimpleProcessorsInterpreterContext<'a>
Sourcepub fn with_res(self, res: Box<dyn Prr<Vec<u8>>>) -> Self
pub fn with_res(self, res: Box<dyn Prr<Vec<u8>>>) -> Self
Create an interpreter context based on an existing one, but with a new RR.
pub fn with_new_value_in_scope(self, name: &str, new_value: TypedValue) -> Self
Trait Implementations§
Source§impl<'a> Debug for SimpleProcessorsInterpreterContext<'a>
impl<'a> Debug for SimpleProcessorsInterpreterContext<'a>
Source§impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for CdniVerificationKey
impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for CdniVerificationKey
Source§fn interpret<'a>(
&self,
input: SimpleProcessorsInterpreterContext<'a>,
) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
fn interpret<'a>( &self, input: SimpleProcessorsInterpreterContext<'a>, ) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
Perform the semantics of the MI.
fn at(&self, stage: Stages) -> bool
Source§impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedCrossoriginPolicy<CrossoriginPolicyVerificationKey>
impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedCrossoriginPolicy<CrossoriginPolicyVerificationKey>
Source§fn interpret<'a>(
&self,
input: SimpleProcessorsInterpreterContext<'a>,
) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
fn interpret<'a>( &self, input: SimpleProcessorsInterpreterContext<'a>, ) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
Perform the semantics of the MI.
fn at(&self, stage: Stages) -> bool
Source§impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedSetVariable<SetVariableVerificationKey>
impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedSetVariable<SetVariableVerificationKey>
Source§fn interpret<'a>(
&self,
input: SimpleProcessorsInterpreterContext<'a>,
) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
fn interpret<'a>( &self, input: SimpleProcessorsInterpreterContext<'a>, ) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
Perform the semantics of the MI.
fn at(&self, stage: Stages) -> bool
Source§impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedStage<PsVerificationKey>
impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedStage<PsVerificationKey>
Source§fn interpret<'a>(
&self,
input: SimpleProcessorsInterpreterContext<'a>,
) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
fn interpret<'a>( &self, input: SimpleProcessorsInterpreterContext<'a>, ) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
Perform the semantics of the MI.
fn at(&self, stage: Stages) -> bool
Source§impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedSourceMetadata<SourceVerificationKey>
impl Interpreter<SimpleProcessorsInterpreterContext<'_>, (Option<Response<Vec<u8>>>, MetadataInformationResultElements), Stages, Error> for TypedSourceMetadata<SourceVerificationKey>
Source§fn interpret<'a>(
&self,
input: SimpleProcessorsInterpreterContext<'a>,
) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
fn interpret<'a>( &self, input: SimpleProcessorsInterpreterContext<'a>, ) -> InterpretationResult<SimpleProcessorsInterpreterContext<'a>, (ResultValue, MetadataInformationResultElements), Error>
Perform the semantics of the MI.
fn at(&self, stage: Stages) -> bool
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SimpleProcessorsInterpreterContext<'a>
impl<'a> !Send for SimpleProcessorsInterpreterContext<'a>
impl<'a> !Sync for SimpleProcessorsInterpreterContext<'a>
impl<'a> !UnwindSafe for SimpleProcessorsInterpreterContext<'a>
impl<'a> Freeze for SimpleProcessorsInterpreterContext<'a>
impl<'a> Unpin for SimpleProcessorsInterpreterContext<'a>
impl<'a> UnsafeUnpin for SimpleProcessorsInterpreterContext<'a>
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