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