Struct grin_util::StopState [−][src]
pub struct StopState { /* fields omitted */ }
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
impl StopState
[src]
impl StopState
[src]pub fn is_stopped(&self) -> bool
[src]
pub fn is_stopped(&self) -> bool
[src]Check if we are stopped.
Auto Trait Implementations
impl RefUnwindSafe for StopState
impl Send for StopState
impl Sync for StopState
impl Unpin for StopState
impl UnwindSafe for StopState
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> UnsafeAny for T where
T: Any,
T: Any,