Trait exonum::node::SystemStateProvider [] [src]

pub trait SystemStateProvider: 'static + Debug {
    fn listen_address(&self) -> SocketAddr;
fn current_time(&self) -> SystemTime; }

A helper trait that provides the node with information about the state of the system such as current time or listen address.

Required Methods

Returns the current address that the node listens on.

Return the current system time.

Implementors