#[non_exhaustive]pub enum NodeErrorKind {
NoInput,
Backpressured,
OverBudget,
ExternalUnavailable,
ExecutionFailed,
}Expand description
Errors from node execution.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoInput
Inputs were not available to progress this node.
Backpressured
Outputs could not be enqueued due to backpressure.
OverBudget
An execution budget or deadline was exceeded.
External dependency (device, transport) was unavailable or timed out.
ExecutionFailed
A generic failure in node logic.
Trait Implementations§
Source§impl Clone for NodeErrorKind
impl Clone for NodeErrorKind
Source§fn clone(&self) -> NodeErrorKind
fn clone(&self) -> NodeErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeErrorKind
impl Debug for NodeErrorKind
Source§impl Display for NodeErrorKind
impl Display for NodeErrorKind
Source§impl From<NodeErrorKind> for NodeError
impl From<NodeErrorKind> for NodeError
Source§fn from(kind: NodeErrorKind) -> Self
fn from(kind: NodeErrorKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NodeErrorKind
impl PartialEq for NodeErrorKind
impl Copy for NodeErrorKind
impl Eq for NodeErrorKind
impl StructuralPartialEq for NodeErrorKind
Auto Trait Implementations§
impl Freeze for NodeErrorKind
impl RefUnwindSafe for NodeErrorKind
impl Send for NodeErrorKind
impl Sync for NodeErrorKind
impl Unpin for NodeErrorKind
impl UnsafeUnpin for NodeErrorKind
impl UnwindSafe for NodeErrorKind
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