Skip to main content

Crate ts_netmon

Crate ts_netmon 

Source
Expand description

§ts_netmon

Platform-specific monitor implementations for network configuration events, such as the creation, modification, or removal of links, routes, and addresses.

Re-exports§

pub use netmon::PlatformMon;

Modules§

linux
Linux network monitor implementation.

Structs§

Interface
Details about a network interface.
InterfaceId
A network interface id.
MonType
The unique id of a Netmon.
Route
A route definition.

Enums§

Event
An event produced by the network monitor.
Family
Specification of either IPv4 or IPv6.
FamilyOrBoth
Specification of IPv4 or IPv6 or both.

Traits§

Netmon
A network monitor that tracks Events related to platform Interfaces.

Functions§

platform_mon
Get the platform Netmon implementation if there is one.

Type Aliases§

BoxStream
A Pin-Boxed Send Stream with items of type T.
RouteUnique
The unique/identifying part of a Route (excludes the metric field).