ergot 0.12.0

Eloquence in messaging
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! std tcp interface impl
//!
//! std tcp uses COBS for framing over a TCP stream.

use crate::interface_manager::{
    Interface,
    utils::{cobs_stream, std::StdQueue},
};

/// An interface implementation for TCP using tokio
pub struct TokioTcpInterface {}

impl Interface for TokioTcpInterface {
    type Sink = cobs_stream::Sink<StdQueue>;
}