Enum homestar_invocation::error::ResolveError
source · pub enum ResolveError {
Runtime(Error),
Transport(String),
UnresolvedCid(String),
}Expand description
Error type for resolving promised Cids within Invocation Inputs.
Variants§
Runtime(Error)
Generic runtime error.
Transparently forwards from anyhow::Error’s source and
Display methods through to an underlying error.
Transport(String)
Transport error when attempting to resolve Invocation Input’s Cid.
UnresolvedCid(String)
Unable to resolve a Cid within an Invocation’s Input.
Trait Implementations§
source§impl Debug for ResolveError
impl Debug for ResolveError
source§impl Display for ResolveError
impl Display for ResolveError
source§impl Error for ResolveError
impl Error for ResolveError
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 From<Error> for ResolveError
impl From<Error> for ResolveError
source§impl From<Infallible> for ResolveError
impl From<Infallible> for ResolveError
source§fn from(err: Infallible) -> Self
fn from(err: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnwindSafe for ResolveError
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