Crate unicom[][src]

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


Backends manager

A parsed URL record.


Error type

The host name of an URL.


Backend interface

The establishing connect between backend and device

The established connection between backend and device

Backend connector interface

Something which can represented as url

Type Definitions

Unified backend object

The establishing connection between backend and device

Boxed connection

Unified connector object

Result type