Skip to main content

Module observer

Module observer 

Source
Expand description

Events the transport reports to an optional observer, such as the node’s periodic state dump.

The transport only reports what happened. It does not know who listens or what is done with the events, so it needs no dependency on the code that summarizes them.

Structs§

PhaseCounts
How many candidates one search phase returned, and how many of them were usable.

Enums§

PathDirection
Whether a path carries packets to a destination, or replies back from it.
TransportEvent
One thing the transport observed.

Type Aliases§

TransportObserver
Receives TransportEvents. It is called on the packet path, so it must be cheap and must not block.