Struct rtnetlink::QDiscHandle

source ·
pub struct QDiscHandle(_);

Implementations§

Retrieve the list of qdisc (equivalent to tc qdisc show)

Create a new qdisc, don’t replace if the object already exists. ( equivalent to tc qdisc add dev STRING)

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

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

Performs a replace where the node must exist already. ( equivalent to tc qdisc link dev STRING)

Delete the qdisc ( equivalent to tc qdisc del 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.