Struct thruster::parser::tree::NodeOutput
source · pub struct NodeOutput<'m, T> {
pub value: &'m Box<dyn Fn(T) -> ReusableBoxFuture<Result<T, ThrusterError<T>>> + Send + Sync>,
pub params: Params,
pub path: String,
pub was_terminal_leaf: bool,
}
Fields§
§value: &'m Box<dyn Fn(T) -> ReusableBoxFuture<Result<T, ThrusterError<T>>> + Send + Sync>
§params: Params
§path: String
§was_terminal_leaf: bool
Implementations§
source§impl<'m, T> NodeOutput<'m, T>
impl<'m, T> NodeOutput<'m, T>
pub fn into_owned(self) -> OwnedNodeOutput<'m, T>
Auto Trait Implementations§
impl<'m, T> !RefUnwindSafe for NodeOutput<'m, T>
impl<'m, T> Send for NodeOutput<'m, T>
impl<'m, T> Sync for NodeOutput<'m, T>
impl<'m, T> Unpin for NodeOutput<'m, T>
impl<'m, T> !UnwindSafe for NodeOutput<'m, T>
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