pub enum SupplyError {
NotPending {
step: String,
instance: Vec<String>,
},
NotARuntimeReason(ReasonKind),
}Expand description
Why a supplied output was not accepted.
Variants§
NotPending
No such request is pending.
NotARuntimeReason(ReasonKind)
Only a runtime can report these reasons: backend unavailable, invalid backend output, budget exhausted, deadline exceeded.
Trait Implementations§
Source§impl Clone for SupplyError
impl Clone for SupplyError
Source§impl Debug for SupplyError
impl Debug for SupplyError
Source§impl Display for SupplyError
impl Display for SupplyError
impl Eq for SupplyError
Source§impl Error for SupplyError
impl Error for SupplyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for SupplyError
impl PartialEq for SupplyError
impl StructuralPartialEq for SupplyError
Auto Trait Implementations§
impl Freeze for SupplyError
impl RefUnwindSafe for SupplyError
impl Send for SupplyError
impl Sync for SupplyError
impl Unpin for SupplyError
impl UnsafeUnpin for SupplyError
impl UnwindSafe for SupplyError
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