pub enum EstartWait<T> {
Ready(Option<T>),
Timeout,
MigrationFailed(String),
NeedsPrepare(String),
}Expand description
How the wait ended.
Variants§
Ready(Option<T>)
srv is ready (Some), or the ready channel closed without it (None): srv died before ESTART.
Timeout
MigrationFailed(String)
srv reported a fatal migration failure and exits 1 without ESTART.
NeedsPrepare(String)
srv’s data needs migrate --prepare; srv exits right after the line.
Auto Trait Implementations§
impl<T> Freeze for EstartWait<T>where
T: Freeze,
impl<T> RefUnwindSafe for EstartWait<T>where
T: RefUnwindSafe,
impl<T> Send for EstartWait<T>where
T: Send,
impl<T> Sync for EstartWait<T>where
T: Sync,
impl<T> Unpin for EstartWait<T>where
T: Unpin,
impl<T> UnsafeUnpin for EstartWait<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for EstartWait<T>where
T: 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