Struct homestar_invocation::task::instruction::input::Args
source · pub struct Args<T>(/* private fields */);Expand description
A list of ordered Input arguments/parameters.
Implementations§
source§impl<T> Args<T>where
T: Debug,
impl<T> Args<T>where
T: Debug,
sourcepub async fn resolve<'a, F>(self, lookup_fn: F) -> Result<Self, ResolveError>
pub async fn resolve<'a, F>(self, lookup_fn: F) -> Result<Self, ResolveError>
Resolve awaited promises of inputs into task-specific Input::Arg’s, given a successful lookup function; otherwise, return Input::Deferred for unresolved promises, or just return Input::Ipld, resolving Ipld links if the lookup function expected Ipld input data.
Trait Implementations§
source§impl<T: PartialEq> PartialEq for Args<T>
impl<T: PartialEq> PartialEq for Args<T>
impl<T> StructuralPartialEq for Args<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Args<T>where
T: RefUnwindSafe,
impl<T> Send for Args<T>where
T: Send,
impl<T> Sync for Args<T>where
T: Sync,
impl<T> Unpin for Args<T>where
T: Unpin,
impl<T> UnwindSafe for Args<T>where
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
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more