pub enum StepShutdownReason {
RouteStop,
HotSwap,
}Expand description
Why a stateful pipeline step is being shut down.
Variants§
RouteStop
The route is stopping (stop_route).
HotSwap
The pipeline is being replaced via hot reload (Restart path).
Trait Implementations§
Source§impl Clone for StepShutdownReason
impl Clone for StepShutdownReason
Source§fn clone(&self) -> StepShutdownReason
fn clone(&self) -> StepShutdownReason
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 StepShutdownReason
Source§impl Debug for StepShutdownReason
impl Debug for StepShutdownReason
impl Eq for StepShutdownReason
Source§impl PartialEq for StepShutdownReason
impl PartialEq for StepShutdownReason
Source§fn eq(&self, other: &StepShutdownReason) -> bool
fn eq(&self, other: &StepShutdownReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StepShutdownReason
Auto Trait Implementations§
impl Freeze for StepShutdownReason
impl RefUnwindSafe for StepShutdownReason
impl Send for StepShutdownReason
impl Sync for StepShutdownReason
impl Unpin for StepShutdownReason
impl UnsafeUnpin for StepShutdownReason
impl UnwindSafe for StepShutdownReason
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