pub enum InputParseError<T> {
FromIpld(SerdeError),
IpldToArgs(Args<T>),
UnexpectedTaskInput(Input<T>),
Invocation(Error<T>),
}Expand description
Error type for parsing Invocation Inputs.
Variants§
FromIpld(SerdeError)
Error converting from [Ipld] structure via serde.
Transparently forwards from [libipld::error::SerdeError]’s source and
Display methods through to an underlying error.
IpldToArgs(Args<T>)
Error converting from [Ipld] structure into Args.
UnexpectedTaskInput(Input<T>)
Invocation(Error<T>)
Bubble-up conversion and other general Invocation errors.
Trait Implementations§
source§impl<T: Debug> Debug for InputParseError<T>
impl<T: Debug> Debug for InputParseError<T>
source§impl<T> Display for InputParseError<T>
impl<T> Display for InputParseError<T>
source§impl<T> Error for InputParseError<T>
impl<T> Error for InputParseError<T>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<T> From<Error<T>> for InputParseError<T>
impl<T> From<Error<T>> for InputParseError<T>
source§impl<T> From<Infallible> for InputParseError<T>
impl<T> From<Infallible> for InputParseError<T>
source§fn from(err: Infallible) -> Self
fn from(err: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for InputParseError<T>
impl<T> Send for InputParseError<T>where
T: Send,
impl<T> Sync for InputParseError<T>where
T: Sync,
impl<T> Unpin for InputParseError<T>where
T: Unpin,
impl<T> !UnwindSafe for InputParseError<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
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