pub trait FullNode: Node {
// Provided methods
fn check_connectivity(&self) -> Result<bool> { ... }
fn wait_for_connectivity(&self, deadline: Instant) -> Result<()> { ... }
}
Expand description
Trait used to represent a running FullNode
pub trait FullNode: Node {
// Provided methods
fn check_connectivity(&self) -> Result<bool> { ... }
fn wait_for_connectivity(&self, deadline: Instant) -> Result<()> { ... }
}
Trait used to represent a running FullNode