pub enum NodeEvent {
Shutdown,
RegisterReporters(Service, ReportersHandles),
Service(Service),
}Expand description
Node event enum.
Variants§
Shutdown
Shutdown the node.
RegisterReporters(Service, ReportersHandles)
Register the stage reporters.
Service(Service)
To keep the node with up to date stage service
Auto Trait Implementations§
impl Freeze for NodeEvent
impl !RefUnwindSafe for NodeEvent
impl Send for NodeEvent
impl Sync for NodeEvent
impl Unpin for NodeEvent
impl !UnwindSafe for NodeEvent
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