pub enum ReadyNodeReceivedOperationOutcome {
ChannelClosed,
NodeSubmitted,
NoOp,
}
Variants§
ChannelClosed
We tried to read from ready_nodes_rx
but got None
; channel is closed.
NodeSubmitted
We read a Some(node_idx)
, and actually submitted it to the worker => in_flight++.
NoOp
We read a Some(node_idx)
but decided not to do anything (rare).
Trait Implementations§
Source§impl PartialEq for ReadyNodeReceivedOperationOutcome
impl PartialEq for ReadyNodeReceivedOperationOutcome
Source§fn eq(&self, other: &ReadyNodeReceivedOperationOutcome) -> bool
fn eq(&self, other: &ReadyNodeReceivedOperationOutcome) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ReadyNodeReceivedOperationOutcome
impl StructuralPartialEq for ReadyNodeReceivedOperationOutcome
Auto Trait Implementations§
impl Freeze for ReadyNodeReceivedOperationOutcome
impl RefUnwindSafe for ReadyNodeReceivedOperationOutcome
impl Send for ReadyNodeReceivedOperationOutcome
impl Sync for ReadyNodeReceivedOperationOutcome
impl Unpin for ReadyNodeReceivedOperationOutcome
impl UnwindSafe for ReadyNodeReceivedOperationOutcome
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