pub struct Router {}
Expand description

router module function handling

Implementations

CLI command interpretation

The CLI commands of router module are processed here

create rpc request for routing table list

create rpc request for neighbours list

create rpc request for connections list

Encode and send protobuf message

Process received RPC message

Decodes received protobuf encoded binary RPC message of the router module.

Display Neighbours list

Display Connection per Module

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.

Should always be Self

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.