#[non_exhaustive]pub enum NodeStepError {
NoInput,
Backpressured,
OverBudget,
ExternalUnavailable,
ExecutionFailed,
}Expand description
High level classification of a node level error used in telemetry.
This mirrors crate::errors::NodeErrorKind so that telemetry can
faithfully report the scheduler-visible error semantics without
inventing additional information that is not available at this layer.
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 NodeStepError
impl Clone for NodeStepError
Source§fn clone(&self) -> NodeStepError
fn clone(&self) -> NodeStepError
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 NodeStepError
impl Debug for NodeStepError
impl Copy for NodeStepError
Auto Trait Implementations§
impl Freeze for NodeStepError
impl RefUnwindSafe for NodeStepError
impl Send for NodeStepError
impl Sync for NodeStepError
impl Unpin for NodeStepError
impl UnsafeUnpin for NodeStepError
impl UnwindSafe for NodeStepError
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