[][src]Function tarpc_json_transport::listen

pub fn listen<Item, SinkItem>(
    addr: &SocketAddr
) -> Result<Incoming<Item, SinkItem>> where
    Item: for<'de> Deserialize<'de>,
    SinkItem: Serialize

Listens on addr, wrapping accepted connections in JSON transports.