#[non_exhaustive]pub enum PropagationError {
NodeOutOfRange,
RoundAlreadyRunning,
RoundNotRunning,
NodeAlreadyUpdated,
RoundIncomplete,
PassTerminated,
PassStillRunning,
}Expand description
A disabled propagation transition.
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.
NodeOutOfRange
A node index is outside the admitted graph.
RoundAlreadyRunning
A round is already running.
RoundNotRunning
The operation requires a running round.
NodeAlreadyUpdated
The node has already committed its update in this round.
RoundIncomplete
Not every node has committed an update.
PassTerminated
The pass is settled or has exhausted its iteration ceiling.
PassStillRunning
The pass is not yet settled and has not reached its ceiling.
Trait Implementations§
Source§impl Clone for PropagationError
impl Clone for PropagationError
Source§fn clone(&self) -> PropagationError
fn clone(&self) -> PropagationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PropagationError
Source§impl Debug for PropagationError
impl Debug for PropagationError
Source§impl Display for PropagationError
impl Display for PropagationError
impl Eq for PropagationError
Source§impl Error for PropagationError
impl Error for PropagationError
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 PropagationError
impl PartialEq for PropagationError
impl StructuralPartialEq for PropagationError
Auto Trait Implementations§
impl Freeze for PropagationError
impl RefUnwindSafe for PropagationError
impl Send for PropagationError
impl Sync for PropagationError
impl Unpin for PropagationError
impl UnsafeUnpin for PropagationError
impl UnwindSafe for PropagationError
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