[−][src]Struct exonum_node::Node
Node capable of processing requests from external clients and participating in the consensus algorithm.
Methods
impl Node
[src]
pub fn run(self) -> Result<(), Error>
[src]
Launches a Node
and optionally creates threads for public and private API handlers,
depending on the provided NodeConfig
.
pub fn blockchain(&self) -> &Blockchain
[src]
Returns the blockchain handle, which can be used to read blockchain state and send transactions to the node.
pub fn shutdown_handle(&self) -> ShutdownHandle
[src]
Returns a shutdown handle for the node. It is possible to instantiate multiple handles using this method; only the first call to shutdown the node is guaranteed to succeed (but this single call is enough to stop the node).
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Node
impl Send for Node
impl !Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,