pub struct TopologyEntry {
pub uid: DeviceUid,
pub mask: u32,
}Expand description
One device a unit found behind its switch ports, in its topology report.
Fields§
§uid: DeviceUidThe device this entry describes.
mask: u32The sender’s switch ports this device’s MAC address was learnt on, one bit per port.
Trait Implementations§
Source§impl Clone for TopologyEntry
impl Clone for TopologyEntry
impl Copy for TopologyEntry
Source§impl Debug for TopologyEntry
impl Debug for TopologyEntry
Source§impl Default for TopologyEntry
impl Default for TopologyEntry
impl Eq for TopologyEntry
Source§impl PartialEq for TopologyEntry
impl PartialEq for TopologyEntry
impl StructuralPartialEq for TopologyEntry
Auto Trait Implementations§
impl Freeze for TopologyEntry
impl RefUnwindSafe for TopologyEntry
impl Send for TopologyEntry
impl Sync for TopologyEntry
impl Unpin for TopologyEntry
impl UnsafeUnpin for TopologyEntry
impl UnwindSafe for TopologyEntry
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