pub enum ShutdownPlanError<N> {
EmptyPhase {
phase: usize,
},
DuplicateChild(N),
}Expand description
Invalid static shutdown topology.
Variants§
Trait Implementations§
Source§impl<N: Clone> Clone for ShutdownPlanError<N>
impl<N: Clone> Clone for ShutdownPlanError<N>
Source§fn clone(&self) -> ShutdownPlanError<N>
fn clone(&self) -> ShutdownPlanError<N>
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<N: Debug> Debug for ShutdownPlanError<N>
impl<N: Debug> Debug for ShutdownPlanError<N>
Source§impl<N> Display for ShutdownPlanError<N>
impl<N> Display for ShutdownPlanError<N>
Source§impl<N> Error for ShutdownPlanError<N>
impl<N> Error for ShutdownPlanError<N>
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<N: PartialEq> PartialEq for ShutdownPlanError<N>
impl<N: PartialEq> PartialEq for ShutdownPlanError<N>
impl<N: Copy> Copy for ShutdownPlanError<N>
impl<N: Eq> Eq for ShutdownPlanError<N>
impl<N> StructuralPartialEq for ShutdownPlanError<N>
Auto Trait Implementations§
impl<N> Freeze for ShutdownPlanError<N>where
N: Freeze,
impl<N> RefUnwindSafe for ShutdownPlanError<N>where
N: RefUnwindSafe,
impl<N> Send for ShutdownPlanError<N>where
N: Send,
impl<N> Sync for ShutdownPlanError<N>where
N: Sync,
impl<N> Unpin for ShutdownPlanError<N>where
N: Unpin,
impl<N> UnsafeUnpin for ShutdownPlanError<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ShutdownPlanError<N>where
N: UnwindSafe,
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