Module capability

Source
Expand description

All capability related types

Structs§

RawCapabilityMessage
A Capability message consisting of the message-id and the payload
SharedCapabilities
Non-empty,ordered list of recognized shared capabilities.
UnsupportedCapabilityError
An error thrown when capabilities mismatch.

Enums§

CapabilityMessage
Various protocol related event types bubbled up from a session that need to be handled by the network.
SharedCapability
This represents a shared capability, its version, and its message id offset.
SharedCapabilityError
An error that may occur while creating a SharedCapability.

Functions§

shared_capability_offsets
Determines the offsets for each shared capability between the input list of peer capabilities and the input list of locally supported Protocol.