[][src]Crate thrift_async

thrift_async

Half-asynchrounous, half-synchrounous implementation of an Apache Thrift server.

This crate is fully compatible with the thrift crate.

Example usage:

use thrift_async::TAsyncServer;

fn main() {
    let processor = <some TProcessor>;

    TAsyncServer::new(processor)
        .listen("127.0.0.1:8080")
        .unwrap() // panic on failure
}

Structs

TAsyncServer

Constants

DEFAULT_CORE_READ_FRAME_SIZE
DEFAULT_CORE_RESIZE_FREQUENCY
DEFAULT_CORE_WRITE_FRAME_SIZE
DEFAULT_MAX_FRAME_SIZE