zif_net 0.1.0

The network transport layer for Zif
Documentation
1
2
3
4
5
6
7
8
9
use address::Address;
use postbox::PostBox;
use post::PostItem;

pub trait NetClient<T: PostBox> {
    fn new(Address) -> Self;
    fn post(&self, PostItem);
    fn get(&self) -> T;
}