Crate zlink_core

Source
Expand description

An asynchronous no-std-compatible Varlink Rust crate. It consists for the following subcrates:

  • zlink-core: A no-std and no-alloc crate that provides all the core API. It leaves the actual transport & high-level API to other crates. This crate is not intended to be used directly.
  • zlink-tokio: Tranport based on Unix-domain sockets API of tokio and high-level API.
  • zlink-usb & zlink-micro: Together these enables RPC between a (Linux) host and microcontrollers through USB. Use the former on the host side and latter on the microcontrollers side.

Re-exports§

pub use connection::Connection;

Modules§

connection
Contains connection related API.
service
Serice-related API.

Structs§

Call
A method call.
Reply
A successful method call reply.
Server
A server.

Enums§

Error
The Error type for the zlink crate.

Traits§

Listener
A listener is a server that listens for incoming connections.
Service
Service trait for handling method calls.

Type Aliases§

Result
The Result type for the zlink crate.