Skip to main content

Module transport

Module transport 

Source
Expand description

User supplied dial and listen (Transport).

Traits§

Transport
A user supplied way to dial and listen, e.g. in-memory pipes, sockets from another runtime, or a WASI host’s sockets. Crates on karyon_net use it for every endpoint it supports, and their built-in transports for the others. Pair it with a custom endpoint scheme (mem://node-a) or take over a built-in one (tcp://, tls://, quic://).
TransportListener
Accepts the connections of a Transport listener.

Type Aliases§

TransportRef
Arc reference to a Transport.