volo-thrift 0.12.5

Thrift RPC framework implementation of volo.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub(crate) mod incoming;
#[cfg(feature = "multiplex")]
pub mod multiplex;
pub mod pingpong;
pub mod pool;
use pilota::thrift::ThriftException;
pub use pool::Config;

fn should_log(e: &ThriftException) -> bool {
    !matches!(e, ThriftException::Transport(te)
        if volo::util::remote_error::is_remote_closed_error(te.io_error())
            && !volo::util::remote_error::remote_closed_error_log_enabled()
    )
}