pub struct StopState { /* private fields */ }
Expand description
Global stopped/paused state shared across various subcomponents of Grin.
“Stopped” allows a clean shutdown of the Grin server. “Paused” is used in some tests to allow nodes to reach steady state etc.
Implementations§
Auto Trait Implementations§
impl !Freeze for StopState
impl RefUnwindSafe for StopState
impl Send for StopState
impl Sync for StopState
impl Unpin for StopState
impl UnwindSafe for StopState
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