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
Port - Hostname and port
- Scheme
Hostname Port - Static
Hostname Port HostnamePort
’s static counterpart usable for const values.
Enums§
- Transport
Error - A Transport worker specific error type
- Valid
Scheme
Constants§
Traits§
- Transport
- Generic representation of a Transport At minimum, a Transport must be able
Functions§
- encode_
transport_ message - Helper that creates a length-prefixed buffer containing the given
TransportMessage
’s payload - parse_
socket_ addr