Enum thingvellir::ShutdownResult
source · pub enum ShutdownResult {
GracefullyShutdown(Vec<ShardShutdownStats>),
HardShutdown,
AlreadyShutdown,
}
Variants§
GracefullyShutdown(Vec<ShardShutdownStats>)
Thingvellir was gracefully shut down and all data was committed.
HardShutdown
Thingvellir was hard shut down and uncommitted data was lost.
AlreadyShutdown
Joined on the graceful shutdown handle more than one time, and thingvellir was already shutdown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShutdownResult
impl RefUnwindSafe for ShutdownResult
impl Send for ShutdownResult
impl Sync for ShutdownResult
impl Unpin for ShutdownResult
impl UnwindSafe for ShutdownResult
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