Struct redis_driver::ClusterLinkInfo
source · 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
Auto Trait Implementations
impl RefUnwindSafe for ClusterLinkInfo
impl Send for ClusterLinkInfo
impl Sync for ClusterLinkInfo
impl Unpin for ClusterLinkInfo
impl UnwindSafe for ClusterLinkInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more