pub struct ParsedRequest {
pub ops: Vec<ParsedOp>,
pub mode: ExecutionMode,
pub ranges: Vec<Range<usize>>,
}Expand description
Parsed operations in input order plus their execution mode.
ranges is a nonempty partition of ops into contiguous, non-overlapping
units: every leaf belongs to exactly one range, and ranges are listed
in source order with no gaps. Single carries one range of length one.
Chain carries one range covering every leaf. Parallel carries one
range per independent unit; length one for every range in an ordinary
flat batch ([a(), b()]), and possibly longer ranges for a bracketed
batch of linear chains ([a() | b(), c()], ADR-016 Amendment 2), where a
range longer than one names a unit that is itself a chain: only its first
leaf is barred from $prev, and a failure inside it aborts only that
unit’s own remaining leaves.
Fields§
§ops: Vec<ParsedOp>§mode: ExecutionMode§ranges: Vec<Range<usize>>Trait Implementations§
Source§impl Clone for ParsedRequest
impl Clone for ParsedRequest
Source§impl Debug for ParsedRequest
impl Debug for ParsedRequest
Source§impl PartialEq for ParsedRequest
impl PartialEq for ParsedRequest
impl StructuralPartialEq for ParsedRequest
Auto Trait Implementations§
impl Forget for ParsedRequest
impl Freeze for ParsedRequest
impl Move 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