Skip to main content

CoreActions

Struct CoreActions 

Source
pub struct CoreActions<V, B>
where V: Identities,
{ pub submit: Vec<Submission<B>>, pub requests: Vec<ProviderRequest<V>>, pub deliver: bool, }
Expand description

What the driver does after a call into the core.

Fields§

§submit: Vec<Submission<B>>

Submissions the core originated – commits, operations their gates released, and any refused before – to push to the backend in order, then submit. One the backend refuses goes back through DurableIoCore::refused, whose own actions are acted on in turn; the rest may still be pushed.

§requests: Vec<ProviderRequest<V>>

Requests for the consumer’s provider, in the order made; each domain’s answer goes back through DurableIoCore::provided.

§deliver: bool

Entries became poppable where there were none: the driver’s readiness should be raised.

Implementations§

Source§

impl<V, B> CoreActions<V, B>
where V: Identities,

Source

pub fn is_empty(&self) -> bool

Nothing to do.

Trait Implementations§

Source§

impl<V, B> Debug for CoreActions<V, B>
where V: Debug + Identities, B: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<V, B> Freeze for CoreActions<V, B>

§

impl<V, B> RefUnwindSafe for CoreActions<V, B>

§

impl<V, B> Send for CoreActions<V, B>

§

impl<V, B> Sync for CoreActions<V, B>

§

impl<V, B> Unpin for CoreActions<V, B>

§

impl<V, B> UnsafeUnpin for CoreActions<V, B>

§

impl<V, B> UnwindSafe for CoreActions<V, B>

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 = !

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

fn try_from(value: U) -> Result<T, !>

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.