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
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(())
}