libgsh 0.1.0

Graphical Shell server SDK library
Documentation
1
2
3
4
5
6
7
8
9
10
use std::net::TcpStream;

use crate::shared::sync::MessageCodec;
use tokio_rustls::rustls::{ServerConnection, StreamOwned};

pub mod server;
pub mod service;

/// Synchronous message codec for the `StreamOwned` over a `TcpStream`.\
pub type Messages = MessageCodec<StreamOwned<ServerConnection, TcpStream>>;