pub struct LinkMatrix {
pub clients: Vec<LinkNode>,
pub servers: Vec<LinkNode>,
pub counts: Vec<Vec<u32>>,
pub links: Vec<Link>,
}Expand description
Client × server matrix: counts[c][s] = connections from clients[c] to servers[s] (all ports).
Rows and columns are ordered by total connections, descending, then label.
Fields§
§clients: Vec<LinkNode>§servers: Vec<LinkNode>§counts: Vec<Vec<u32>>§links: Vec<Link>Trait Implementations§
Source§impl Clone for LinkMatrix
impl Clone for LinkMatrix
Source§impl Debug for LinkMatrix
impl Debug for LinkMatrix
Source§impl Default for LinkMatrix
impl Default for LinkMatrix
Source§impl<'de> Deserialize<'de> for LinkMatrixwhere
LinkMatrix: Default,
impl<'de> Deserialize<'de> for LinkMatrixwhere
LinkMatrix: Default,
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
Source§impl PartialEq for LinkMatrix
impl PartialEq for LinkMatrix
Source§impl Serialize for LinkMatrix
impl Serialize for LinkMatrix
impl StructuralPartialEq for LinkMatrix
Auto Trait Implementations§
impl Forget for LinkMatrix
impl Freeze for LinkMatrixwhere
*const u8 is !null: Freeze,
PhantomData<LinkNode>: Freeze,
PhantomData<Vec<u32>>: Freeze,
PhantomData<Link>: Freeze,
impl Move for LinkMatrix
impl RefUnwindSafe for LinkMatrix
impl Send for LinkMatrixwhere
RawVecInner: Send,
impl Sync for LinkMatrixwhere
RawVecInner: Sync,
impl Unpin for LinkMatrix
impl UnsafeUnpin for LinkMatrixwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<LinkNode>: UnsafeUnpin,
PhantomData<Vec<u32>>: UnsafeUnpin,
PhantomData<Link>: UnsafeUnpin,
impl UnwindSafe for LinkMatrixwhere
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