pub enum NetworkError {
Show 17 variants
DowncastError(DowncastError),
InvalidPinAssignment,
PortTryFromNull,
TrySendError(TrySendError<usize>),
Timeout {
message: String,
},
InvalidConfiguration {
details: String,
},
ResourceExhaustion {
resource: String,
},
OperatorFailure {
operator_name: String,
reason: OperatorFailureReason,
},
NodeTaskPanic,
FailedToEnqueueInitialZeroDegreeNode,
AsyncSchedulerConfigBuilderFailure,
ThreadPanicked,
PoisonedLock,
OutOfBoundsEdge {
node_index: usize,
node_count: usize,
},
TaskItemBuildFailure {
node_index: usize,
},
InvalidNode {
node_idx: usize,
},
OperatorFailed {
reason: String,
},
}Variants§
DowncastError(DowncastError)
InvalidPinAssignment
PortTryFromNull
we use this one to help during hydro2-network-wire-derive
TrySendError(TrySendError<usize>)
Timeout
InvalidConfiguration
A configuration was invalid, e.g., referencing missing nodes, edges, or incompatible buffer types.
ResourceExhaustion
Some resource was exhausted, such as memory, file handles, or concurrency permits.
OperatorFailure
An operator encountered a failure during execution.
NodeTaskPanic
FailedToEnqueueInitialZeroDegreeNode
AsyncSchedulerConfigBuilderFailure
ThreadPanicked
PoisonedLock
OutOfBoundsEdge
TaskItemBuildFailure
InvalidNode
OperatorFailed
Trait Implementations§
Source§impl Clone for NetworkError
impl Clone for NetworkError
Source§fn clone(&self) -> NetworkError
fn clone(&self) -> NetworkError
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 NetworkError
impl Debug for NetworkError
Source§impl Display for NetworkError
impl Display for NetworkError
Source§impl From<DowncastError> for NetworkError
impl From<DowncastError> for NetworkError
Source§fn from(x: DowncastError) -> Self
fn from(x: DowncastError) -> Self
Converts to this type from the input type.
Source§impl From<TrySendError<usize>> for NetworkError
impl From<TrySendError<usize>> for NetworkError
Source§fn from(x: TrySendError<usize>) -> Self
fn from(x: TrySendError<usize>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NetworkError
impl PartialEq for NetworkError
Auto Trait Implementations§
impl Freeze for NetworkError
impl RefUnwindSafe for NetworkError
impl Send for NetworkError
impl Sync for NetworkError
impl Unpin for NetworkError
impl UnwindSafe for NetworkError
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