pub struct Connections {}
Expand description

connections function handling

Implementations

CLI command interpretation

The CLI commands of users are processed here

send an rpc request for internet peering nodes list

send an RPC message to add a new internet peer node connection

Send an rpc message to remove a specific internet peer node connection

The nodes are specified by their libp2p multiaddress

Send an rpc message to activate a specific internet peer node connection

The nodes are specified by their libp2p multiaddress

Send an rpc message to deactivate a specific internet peer node connection

The nodes are specified by their libp2p multiaddress

Encode and send a protobuf connections message to RPC

Process received RPC message

Decodes received protobuf encoded binary connections RPC messages and display their content

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.