pub struct Effect<T> {
pub settlement: Settlement,
pub value: Option<T>,
}Expand description
Result of EffectGate::admit: the settlement plus the executor’s value
when the outcome is Ok.
Fields§
§settlement: Settlement§value: Option<T>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Effect<T>
impl<T> RefUnwindSafe for Effect<T>where
Option<T>: RefUnwindSafe,
impl<T> Send for Effect<T>
impl<T> Sync for Effect<T>
impl<T> Unpin for Effect<T>
impl<T> UnsafeUnpin for Effect<T>where
Option<T>: UnsafeUnpin,
impl<T> UnwindSafe for Effect<T>where
Option<T>: 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