pub struct TrafficFilterHandle { /* private fields */ }

Implementations

Retrieve the list of filter (equivalent to tc filter show dev <iface_name>)

Add a filter to a node, don’t replace if the object already exists. ( equivalent to tc filter add dev STRING)

Change the filter, the handle cannot be changed and neither can the parent. In other words, change cannot move a node. ( equivalent to tc filter change dev STRING)

Replace existing matching filter, create filter if it doesn’t already exist. ( equivalent to tc filter replace dev STRING)

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.