pub struct NodeFnUpdateWithConfigAndRuntime<F, C>{
pub func: F,
pub runtime: Runtime<C>,
/* private fields */
}Expand description
Wrapper for async functions taking (S, RunnableConfig, Runtime<C>) and returning Result<S::Update, JunctureError>
Form F: async functions that receive state, config, and Runtime and return a state update.
Fields§
§func: FThe wrapped async function
runtime: Runtime<C>Runtime context to inject into the function
Implementations§
Source§impl<F, C> NodeFnUpdateWithConfigAndRuntime<F, C>
impl<F, C> NodeFnUpdateWithConfigAndRuntime<F, C>
Trait Implementations§
Source§impl<F, C> Debug for NodeFnUpdateWithConfigAndRuntime<F, C>
impl<F, C> Debug for NodeFnUpdateWithConfigAndRuntime<F, C>
Source§impl<S, F, Fut, C> IntoNode<S> for NodeFnUpdateWithConfigAndRuntime<F, C>
impl<S, F, Fut, C> IntoNode<S> for NodeFnUpdateWithConfigAndRuntime<F, C>
Auto Trait Implementations§
impl<F, C> Freeze for NodeFnUpdateWithConfigAndRuntime<F, C>
impl<F, C> !RefUnwindSafe for NodeFnUpdateWithConfigAndRuntime<F, C>
impl<F, C> Send for NodeFnUpdateWithConfigAndRuntime<F, C>where
F: Send,
impl<F, C> Sync for NodeFnUpdateWithConfigAndRuntime<F, C>where
F: Sync,
impl<F, C> Unpin for NodeFnUpdateWithConfigAndRuntime<F, C>
impl<F, C> UnsafeUnpin for NodeFnUpdateWithConfigAndRuntime<F, C>where
F: UnsafeUnpin,
C: UnsafeUnpin,
impl<F, C> !UnwindSafe for NodeFnUpdateWithConfigAndRuntime<F, C>
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