Crate ockam_transport_tcp
source ·Expand description
This crate provides a TCP Transport for Ockam’s Routing Protocol.
This crate requires the rust standard library "std"
Structs§
- Portal Interceptor Listener
- Worker that intercepts data in a portal
- Portal interceptor for the outlet side
- Result of
TcpTransport::connect
call. - Trust Options for a TCP connection
- Result of
TcpTransport::create_inlet
call. - Trust Options for an Inlet
- Result of
TcpTransport::listen
call. - Information about specific Tcp listener
- Trust Options for a TCP listener
- Trust Options for an Outlet
- Information about specific Tcp sender (corresponds to one specific Tcp connection)
- Registry of all active workers and processors in TCP Transport to ease their lifecycle management
- Information about specific Tcp sender (corresponds to one specific Tcp connection)
- High level management interface for TCP transports
Enums§
- Direction of the data being intercepted
- An internal message type for a Portal
- A command message type for a Portal
- Tcp connection mode
- TCP Protocol version
Constants§
- 16 MB
- Maximum allowed size for a payload
- Transport type for TCP addresses
Traits§
- Portal Interceptor
- Portal Interceptor Factory
- This trait adds a
create_tcp_transport
method to any struct returning a Context. This is the case for an ockam::Node, so you can writenode.create_tcp_transport()