pub struct Link {
pub client: usize,
pub server: usize,
pub via: Proto,
pub port: Option<u16>,
pub path: Option<String>,
pub connections: u32,
}Expand description
Aggregated connections from one client group to one server group over one port / unix path.
Fields§
§client: usizeIndex into LinkMatrix::clients.
server: usizeIndex into LinkMatrix::servers.
via: Proto§port: Option<u16>TCP: the server port.
path: Option<String>Unix: the server’s socket path.
connections: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Link
impl<'de> Deserialize<'de> for Link
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Forget for Link
impl Freeze for Link
impl Move for Link
impl RefUnwindSafe for Link
impl Send for Linkwhere
RawVecInner: Send,
impl Sync for Linkwhere
RawVecInner: Sync,
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Linkwhere
RawVecInner: UnwindSafe,
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