Struct sc_telemetry::ConnectionMessage
source · 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.
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§
source§impl Debug for ConnectionMessage
impl Debug for ConnectionMessage
Auto Trait Implementations§
impl Freeze for ConnectionMessage
impl RefUnwindSafe for ConnectionMessage
impl Send for ConnectionMessage
impl Sync for ConnectionMessage
impl Unpin for ConnectionMessage
impl UnwindSafe for ConnectionMessage
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more