Crate litep2p

Source

Re-exports§

pub use error::Error;
pub use types::protocol::ProtocolName;

Modules§

addresses
codec
Protocol codecs.
config
Litep2p configuration.
crypto
Crypto-related code.
error
Litep2p error types.
executor
Behavior defining how futures running in the background should be executed.
protocol
Protocol-related defines.
substream
Substream-related helper code.
transport
Transport protocol implementations provided by Litep2p.
types
Types used by Litep2p protocols/transport.
utils
yamux
This crate implements the Yamux specification.

Structs§

BandwidthSink
Bandwidth sink which provides metering for inbound/outbound byte usage.
Litep2p
Litep2p object.
PeerId
Identifier of a peer of the network.

Enums§

Litep2pEvent
Litep2p events.

Type Aliases§

Result
Public result type used by the crate.