igcp

Crates.ioigcp
lib.rsigcp
version0.1.6
sourcesrc
created_at2021-12-28 20:32:18.493714
updated_at2022-01-25 03:17:00.43597
descriptionprovides ergonomic abstractions for network communication; communication backend of Canary
homepage
repositoryhttps://github.com/znx3p0/canary
max_upload_size
id504425
size67,202
(znx3p0)

documentation

README

IGCP

IGCP is the communication backend of Canary. 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(())
}
Commit count: 110

cargo fmt