1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![doc(
html_logo_url = "https://github.com/cloudwego/pilota/raw/main/.github/assets/logo.png?sanitize=true"
)]
#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
pub mod prost;
pub mod thrift;
pub use async_recursion;
pub use async_trait;
pub use bytes::Bytes;
pub use derivative;
pub use faststr::FastStr;
pub use lazy_static;
pub use thiserror::Error as ThisError;
pub use tokio::io::AsyncRead;
#[derive(thiserror::Error, Debug)]
pub enum EnumConvertError<Num> {
#[error("invalid value `{0}` for enum `{1}`")]
InvalidNum(Num, &'static str),
}