pub struct CausalMonad<S = (), C = ()>(/* private fields */);Expand description
CausalMonad is the concrete implementation of the MonadEffect5 trait for the
CausalSystem. It provides the fundamental pure and bind operations
that enable monadic programming within the DeepCausality framework.
This monad is designed to manage the flow of CausalEffectPropagationProcesss, ensuring
that errors are handled gracefully and a comprehensive log of operations is maintained.
Trait Implementations§
Source§impl<S: Clone, C: Clone> Clone for CausalMonad<S, C>
impl<S: Clone, C: Clone> Clone for CausalMonad<S, C>
Source§fn clone(&self) -> CausalMonad<S, C>
fn clone(&self) -> CausalMonad<S, C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S, C> Freeze for CausalMonad<S, C>
impl<S, C> RefUnwindSafe for CausalMonad<S, C>where
S: RefUnwindSafe,
C: RefUnwindSafe,
impl<S, C> Send for CausalMonad<S, C>
impl<S, C> Sync for CausalMonad<S, C>
impl<S, C> Unpin for CausalMonad<S, C>
impl<S, C> UnwindSafe for CausalMonad<S, C>where
S: UnwindSafe,
C: UnwindSafe,
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