#[non_exhaustive]pub enum GraphNodeError {
NoControlOutcome,
EmptyContinueSuccessors,
EmptyWaitSuccessors,
}Expand description
Invalid local control shape for one graph node.
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.
NoControlOutcome
No result control value could be accepted.
EmptyContinueSuccessors
continue would silently dead-end.
EmptyWaitSuccessors
A resolved wait would have no declared continuation.
Trait Implementations§
Source§impl Clone for GraphNodeError
impl Clone for GraphNodeError
Source§impl Debug for GraphNodeError
impl Debug for GraphNodeError
Source§impl Display for GraphNodeError
impl Display for GraphNodeError
impl Eq for GraphNodeError
Source§impl Error for GraphNodeError
impl Error for GraphNodeError
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 GraphNodeError
impl PartialEq for GraphNodeError
impl StructuralPartialEq for GraphNodeError
Auto Trait Implementations§
impl Forget for GraphNodeError
impl Freeze for GraphNodeError
impl Move for GraphNodeError
impl RefUnwindSafe for GraphNodeError
impl Send for GraphNodeError
impl Sync for GraphNodeError
impl Unpin for GraphNodeError
impl UnsafeUnpin for GraphNodeError
impl UnwindSafe for GraphNodeError
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