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: ClusterLinkDirectionThis link is established by the local node to the peer, or accepted by the local node from the peer.
node: StringThe node id of the peer.
create_time: u64Creation 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: StringEvents currently registered for the link. r means readable event, w means writable event.
send_buffer_allocated: usizeAllocated size of the link’s send buffer, which is used to buffer outgoing messages toward the peer.
send_buffer_used: usizeSize of the portion of the link’s send buffer that is currently holding data(messages).
Trait Implementations§
Source§impl FromValue for ClusterLinkInfo
impl FromValue for ClusterLinkInfo
Auto Trait Implementations§
impl Freeze for ClusterLinkInfo
impl RefUnwindSafe for ClusterLinkInfo
impl Send for ClusterLinkInfo
impl Sync for ClusterLinkInfo
impl Unpin for ClusterLinkInfo
impl UnwindSafe for ClusterLinkInfo
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