pub struct StreamBlock {
pub body: Vec<FlowStep>,
pub loc: Loc,
}Expand description
§Fase 34 / §Fase 111.e — stream { <steps> }.
The body used to NOT EXIST. parse_block_step — shared with deliberate,
consensus and (pre-retraction) transact — called skip_braced_block()
and threw the block’s contents away at PARSE time. The handler was not a
no-op because someone forgot to implement it; it was a no-op because the
body never reached the AST for anything to execute. Four advertised
primitives died in that one function.
Fields§
§body: Vec<FlowStep>The steps inside the block. Executed in order; each one’s fragments are emitted on the flow’s event channel as they are produced.
loc: LocTrait Implementations§
Auto Trait Implementations§
impl Freeze for StreamBlock
impl RefUnwindSafe for StreamBlock
impl Send for StreamBlock
impl Sync for StreamBlock
impl Unpin for StreamBlock
impl UnsafeUnpin for StreamBlock
impl UnwindSafe for StreamBlock
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.