pub struct ClusterLinkInfo {
    pub direction: ClusterLinkDirection,
    pub node: String,
    pub create_time: u64,
    pub events: String,
    pub send_buffer_allocated: usize,
    pub send_buffer_used: usize,
}
Expand description

Result for the cluster_links command

Fields

direction: ClusterLinkDirection

This link is established by the local node to the peer, or accepted by the local node from the peer.

node: String

The node id of the peer.

create_time: u64

Creation time of the link. (In the case of a to link, this is the time when the TCP link is created by the local node, not the time when it is actually established.)

events: String

Events currently registered for the link. r means readable event, w means writable event.

send_buffer_allocated: usize

Allocated size of the link’s send buffer, which is used to buffer outgoing messages toward the peer.

send_buffer_used: usize

Size of the portion of the link’s send buffer that is currently holding data(messages).

Trait Implementations

Used to do Value to user type conversion 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.

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.
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