pub struct ParsedRequest {
pub ops: Vec<ParsedOp>,
pub mode: ExecutionMode,
}Expand description
Result of parsing a request input string (ADR-016).
The mode field tells the dispatcher how to execute the operations:
Single: dispatch the one op, wrap in a single-element envelope.Parallel: dispatch all ops concurrently viajoin_all, collect in order.Chain: dispatch ops sequentially; substitute$prevreferences between ops; abort remaining ops when any op or substitution fails.
Fields§
§ops: Vec<ParsedOp>§mode: ExecutionModeTrait Implementations§
Source§impl Clone for ParsedRequest
impl Clone for ParsedRequest
Source§fn clone(&self) -> ParsedRequest
fn clone(&self) -> ParsedRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParsedRequest
impl Debug for ParsedRequest
Source§impl PartialEq for ParsedRequest
impl PartialEq for ParsedRequest
Source§fn eq(&self, other: &ParsedRequest) -> bool
fn eq(&self, other: &ParsedRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedRequest
Auto Trait Implementations§
impl Freeze for ParsedRequest
impl RefUnwindSafe for ParsedRequest
impl Send for ParsedRequest
impl Sync for ParsedRequest
impl Unpin for ParsedRequest
impl UnsafeUnpin for ParsedRequest
impl UnwindSafe for ParsedRequest
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