Module iroh

Source
Available on crate feature iroh-transport only.
Expand description

iroh transport implementation based on iroh

Structs§

IrohConnector
A connection using an iroh connection
IrohListener
A server endpoint using a quinn connection
RecvStream
A stream that wraps a quinn RecvStream with length delimiting and postcard
SendSink
A sink that wraps a quinn SendStream with length delimiting and postcard

Enums§

AccessControl
Access control for the server, either unrestricted or limited to a list of nodes that can connect to the server endpoint

Type Aliases§

AcceptError
Error for accept. Currently just a ConnectionError
OpenBiError
Error for open. Currently just an anyhow::Error