Struct iproute2::ConnectionHandle[][src]

pub struct ConnectionHandle { /* fields omitted */ }

A handle to pass requests to a Connection.

Methods

impl ConnectionHandle
[src]

Send a new request and get the response as a stream of messages. Note that some messages are not part of the response stream:

  • acknowledgements: when an acknowledgement is received, the stream is closed
  • end of dump messages: similarly, upon receiving an "end of dump" message, the stream is closed

Create a new handle, specifically for link requests (equivalent to ip link commands)

Trait Implementations

impl Clone for ConnectionHandle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConnectionHandle
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations