pub enum ResettingTransition<S> {
Continue(Conn<S, Resetting, Dirty>, SessionItem),
Complete(Conn<S, ResetComplete, Dirty>),
Error(Conn<S, Draining, Dirty>, ErrorResponse),
}Expand description
Backend branch while a reset command is executing.
Variants§
Continue(Conn<S, Resetting, Dirty>, SessionItem)
A non-terminal item was consumed; continue waiting.
Complete(Conn<S, ResetComplete, Dirty>)
Reset command completion was observed.
Error(Conn<S, Draining, Dirty>, ErrorResponse)
Reset failed and entered drain-until-ready recovery.
Trait Implementations§
Auto Trait Implementations§
impl<S> !Freeze for ResettingTransition<S>
impl<S> RefUnwindSafe for ResettingTransition<S>where
S: RefUnwindSafe,
impl<S> Send for ResettingTransition<S>where
S: Send,
impl<S> Sync for ResettingTransition<S>where
S: Sync,
impl<S> Unpin for ResettingTransition<S>where
S: Unpin,
impl<S> UnsafeUnpin for ResettingTransition<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ResettingTransition<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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