CausalEffectPropagationProcessWitness

Struct CausalEffectPropagationProcessWitness 

Source
pub struct CausalEffectPropagationProcessWitness<S, C, E, L>(/* private fields */);

Trait Implementations§

Source§

impl<S, C, E, L> Applicative<CausalEffectPropagationProcessWitness<S, C, E, L>> for CausalEffectPropagationProcessWitness<S, C, E, L>
where S: Clone + Default, C: Clone, E: Clone, L: LogAppend + Clone + Default,

Source§

fn pure<T>(value: T) -> <Self as HKT>::Type<T>

Lifts a pure value into the minimal applicative context F::Type<T>. Read more
Source§

fn apply<A, B, Func>( f_ab: <Self as HKT>::Type<Func>, f_a: <Self as HKT>::Type<A>, ) -> <Self as HKT>::Type<B>
where Func: FnMut(A) -> B, A: Clone,

Applies a function wrapped in a context (f_ab) to a value wrapped in a context (f_a). Read more
Source§

impl<S, C, E, L> Functor<CausalEffectPropagationProcessWitness<S, C, E, L>> for CausalEffectPropagationProcessWitness<S, C, E, L>
where S: Clone, C: Clone, E: Clone, L: Clone,

Source§

fn fmap<A, B, Func>( m_a: <CausalEffectPropagationProcessWitness<S, C, E, L> as HKT>::Type<A>, f: Func, ) -> <CausalEffectPropagationProcessWitness<S, C, E, L> as HKT>::Type<B>
where Func: FnOnce(A) -> B,

Applies a function f to the value inside the container m_a. Read more
Source§

impl<S, C, E, L> HKT for CausalEffectPropagationProcessWitness<S, C, E, L>

Source§

type Type<Value> = CausalEffectPropagationProcess<Value, S, C, E, L>

The Generic Associated Type (GAT) that represents the type constructor. The <T> is the “hole” in the type constructor (e.g., Option<T>).
Source§

impl<S, C, E, L> HKT5<S, C, E, L> for CausalEffectPropagationProcessWitness<S, C, E, L>

Source§

type Type<Value> = CausalEffectPropagationProcess<Value, S, C, E, L>

The GAT that represents the remaining type constructor. The resulting kind is * -> * (one hole <T> remaining).
Source§

impl<S, C, E, L> Monad<CausalEffectPropagationProcessWitness<S, C, E, L>> for CausalEffectPropagationProcessWitness<S, C, E, L>
where S: Clone + Default, C: Clone, E: Clone, L: LogAppend + Clone + Default,

Source§

fn bind<A, B, Func>( m_a: <Self as HKT>::Type<A>, f: Func, ) -> <Self as HKT>::Type<B>
where Func: FnMut(A) -> <Self as HKT>::Type<B>,

Chains a computation from an effectful value, flattening the result. This is the core sequencing operation of a Monad. Read more

Auto Trait Implementations§

§

impl<S, C, E, L> Freeze for CausalEffectPropagationProcessWitness<S, C, E, L>

§

impl<S, C, E, L> RefUnwindSafe for CausalEffectPropagationProcessWitness<S, C, E, L>

§

impl<S, C, E, L> Send for CausalEffectPropagationProcessWitness<S, C, E, L>
where S: Send, C: Send, E: Send, L: Send,

§

impl<S, C, E, L> Sync for CausalEffectPropagationProcessWitness<S, C, E, L>
where S: Sync, C: Sync, E: Sync, L: Sync,

§

impl<S, C, E, L> Unpin for CausalEffectPropagationProcessWitness<S, C, E, L>
where S: Unpin, C: Unpin, E: Unpin, L: Unpin,

§

impl<S, C, E, L> UnwindSafe for CausalEffectPropagationProcessWitness<S, C, E, L>

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.