Crate ockam_transport_core
source ·Expand description
This crate provides the common code shared among the different Ockam’s transport protocols.
Each specific protocol is then supported in its own crate. For example, the TCP protocol is supported in the ockam_transport_tcp
crate.
Currently available transports include:
ockam_transport_tcp
- TCP transportockam_transport_udp
- UDP transportockam_transport_ble
- Bluetooth Low Energy Transportockam_transport_websocket
- WebSocket Transportockam_transport_uds
- Unix Domain Socket Transport
Structs§
- Hostname and port
HostnamePort
’s static counterpart usable for const values.
Enums§
- A Transport worker specific error type
Constants§
- Generic representation of a Transport At minimum, a Transport must be able
Traits§
Functions§
- Helper that creates a length-prefixed buffer containing the given
TransportMessage
’s payload