pub struct Handle(_);
Expand description

Handle that abstracts initialization and cleanup of resources needed to operate on the routing table.

Implementations

Add route to the system’s routing table.

Returns a Stream which will yield a RouteChange event whenever a route is added, removed, or changed from the system’s routing table.

Returns a Vec<Route> containing a list of both ipv4 and v6 routes on the system.

Get one of the default routes on the system if there is at least one.

Remove a route from the system’s routing table.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.