Struct tinychain::scalar::op::Executor[][src]

pub struct Executor<'a, T> { /* fields omitted */ }

An OpDef executor.

Implementations

impl<'a, T: Instance + Public> Executor<'a, T>[src]

pub fn new<S: Into<State>, I: IntoIterator<Item = (Id, S)>>(
    txn: Txn,
    subject: &'a T,
    data: I
) -> Self
[src]

Construct a new Executor with the given Txn context and initial state.

pub fn with_context<S: Into<State>, I: IntoIterator<Item = (Id, S)>>(
    txn: Txn,
    subject: &'a T,
    context: Map<State>,
    iter: I
) -> Self
[src]

pub async fn capture(self, capture: Id) -> TCResult<State>[src]

Resolve the state of the variable capture, including any of its dependencies.

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for Executor<'a, T>

impl<'a, T> Send for Executor<'a, T> where
    T: Sync

impl<'a, T> Sync for Executor<'a, T> where
    T: Sync

impl<'a, T> Unpin for Executor<'a, T>

impl<'a, T> !UnwindSafe for Executor<'a, T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<F, T> CastFrom<F> for T where
    T: From<F>, 
[src]

impl<T, F> CastInto<F> for T where
    F: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> Match for F[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<F, T> TryCastFrom<F> for T where
    T: CastFrom<F>, 
[src]

impl<F, T> TryCastInto<T> for F where
    T: TryCastFrom<F>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,