| Crates.io | igcp |
| lib.rs | igcp |
| version | 0.1.6 |
| created_at | 2021-12-28 20:32:18.493714+00 |
| updated_at | 2022-01-25 03:17:00.43597+00 |
| description | provides ergonomic abstractions for network communication; communication backend of Canary |
| homepage | |
| repository | https://github.com/znx3p0/canary |
| max_upload_size | |
| id | 504425 |
| size | 67,202 |
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(())
}