Skip to main content

SourceActions

Struct SourceActions 

Source
pub struct SourceActions<Item> { /* private fields */ }
Expand description

Ordered actions whose normalized results return to their emitting actor.

This product is interpreter-facing machinery. Aggregate builders expose domain operations, not this structural lane.

Implementations§

Source§

impl<Item> SourceActions<Item>

Source

pub fn len(&self) -> usize

Number of requests retained in authored order.

Source

pub fn is_empty(&self) -> bool

Report whether this ordered request lane contains no items.

Source

pub fn into_items(self) -> Vec<Item>

Consume the lane into its requests in authored order.

Trait Implementations§

Source§

impl<Interpreter, RootEvent, Path, Item> InterpretSends<Interpreter, RootEvent, Path> for SourceActions<Item>
where Interpreter: InterpretItem<Item, RootEvent, Path>, Item: SourceAction, Item::Custody: Send,

Source§

fn interpret( progress: &mut Option<InterpretationProgress<Self, Self::InterpretationCustody, Self::Settlements>>, interpreter: &mut Interpreter, ) -> impl Future<Output = ()> + Send

Source§

impl<Item> LogicalDeliveryProtocols for SourceActions<Item>

Source§

type Protocols = NoBirthProtocols

Ordered, duplicate-preserving logical protocol occurrences.
Source§

impl<Item> SendEffects for SourceActions<Item>

Source§

fn empty() -> Self

Source§

fn append(&mut self, other: Self)

Source§

fn combine(self, other: Self) -> Self

Source§

fn send<Input, Path>(&mut self, input: Input)
where Self: SendInput<Input, Path>,

Append one request to its statically selected semantic lane.
Source§

fn sending<Input, Path>(input: Input) -> Self
where Self: SendInput<Input, Path>,

Build a send product containing one request in its selected lane.
Source§

impl<Item> SendInput<Item, Own> for SourceActions<Item>

Source§

fn emit(&mut self, input: Item)

Source§

impl<Item> SendSettlements for SourceActions<Item>
where Item: SourceAction,

Source§

impl<Event, Item> SendsFor<Event> for SourceActions<Item>
where Item: SourceAction,

Auto Trait Implementations§

§

impl<Item> Freeze for SourceActions<Item>

§

impl<Item> RefUnwindSafe for SourceActions<Item>
where Item: RefUnwindSafe,

§

impl<Item> Send for SourceActions<Item>
where Item: Send,

§

impl<Item> Sync for SourceActions<Item>
where Item: Sync,

§

impl<Item> Unpin for SourceActions<Item>
where Item: Unpin,

§

impl<Item> UnsafeUnpin for SourceActions<Item>

§

impl<Item> UnwindSafe for SourceActions<Item>
where Item: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.