pub struct ConnInfo {
pub host_id: i32,
pub connection: i64,
pub leader_addr: Ipv4Addr,
pub build: String,
}Expand description
Connection metadata returned by the VoltDB server during authentication.
This struct contains information about the server that the client connected to, including the host ID, connection ID, and cluster leader address.
Fields§
§host_id: i32The ID of the host in the VoltDB cluster.
connection: i64Unique connection identifier assigned by the server.
leader_addr: Ipv4AddrIPv4 address of the cluster leader node.
build: StringVoltDB server build/version string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnInfo
impl RefUnwindSafe for ConnInfo
impl Send for ConnInfo
impl Sync for ConnInfo
impl Unpin for ConnInfo
impl UnwindSafe for ConnInfo
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