pub struct ConnectionMessage {
Show 13 fields pub name: String, pub implementation: String, pub version: String, pub config: String, pub chain: String, pub genesis_hash: String, pub authority: bool, pub startup_time: String, pub network_id: String, pub target_os: String, pub target_arch: String, pub target_env: String, pub sysinfo: Option<SysInfo>,
}
Expand description

Message sent when the connection (re-)establishes.

Fields

name: String

Node’s name.

implementation: String

Node’s implementation.

version: String

Node’s version.

config: String

Node’s configuration.

chain: String

Node’s chain.

genesis_hash: String

Node’s genesis hash.

authority: bool

Node is an authority.

startup_time: String

Node’s startup time.

network_id: String

Node’s network ID.

target_os: String

Node’s OS.

target_arch: String

Node’s ISA.

target_env: String

Node’s target platform ABI or libc.

sysinfo: Option<SysInfo>

Node’s software and hardware information.

Trait Implementations

Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
Convert from a value of T into an equivalent instance of Self. Read more
Consume self to return an equivalent value of T. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Consume self to return an equivalent value of T.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more