Crate unicom

Source
Expand description

§Unified communication for IoT clients

license github crates docs status

The backends interface was introduced to support different connection methods. Each backend should provide the way to establish bidirectional connection for exchanging binary data with devices.

IMPORTANT NOTE: Async runtime feature should be selected explicitly.

§Supported features

§Built-in backends

  • unicom-tcp TCP socket connection
  • unicom-unix Unix-domain socket connection
  • unicom-serial Serial port connection

Structs§

Manager
Backends manager
Url
A parsed URL record.

Enums§

Error
Error type
Host
The host name of an URL.

Traits§

Backend
Backend interface
Connect
The establishing connect between backend and device
Connection
The established connection between backend and device
Connector
Backend connector interface
ToUrl
Something which can represented as url

Type Aliases§

BoxedBackend
Unified backend object
BoxedConnect
The establishing connection between backend and device
BoxedConnection
Boxed connection
BoxedConnector
Unified connector object
Result
Result type