1 2 3 4 5 6 7 8 9 10 11
proto! stream ( stream:send<T:Send> { send(T) -> stream<T> } ) fn main() { let (bc, _bp) = stream::init(); stream::client::send(bc, ~"abc"); }