igcp 0.0.2

provides ergonomic abstractions for network communication; communication backend of Sia
Documentation

IGCP

IGCP is the communication backend of Sia. It provides a simple Channel type that represents a stream of objects, and a serializable std::io::Result.

async fn send(mut channel: Channel) -> Result<()> {
    channel.send("hello world!").await?;
    channel.send(42).await?;
    Ok(())
}