Crate pilota

Source
Expand description

Pilota

Crates.io Documentation License Build Status

Pilota is a thrift and protobuf implementation in pure rust with high performance and extensibility.

§License

Pilota is dual-licensed under the MIT license and the Apache License (Version 2.0).

See LICENSE-MIT and LICENSE-APACHE for details.

§Credits

We have used some third party components, and we thank them for their work.

For the full list, you may refer to the CREDITS.md file.

§Community

Re-exports§

pub use crate::thrift::unknown::LinkedBytes;
pub use async_recursion;
pub use lazy_static;
pub use serde;

Modules§

buf
Utilities for working with buffers.
prost
thrift

Macros§

assert_remaining

Structs§

AHashMap
A HashMap using RandomState to hash the items. (Requires the std feature to be enabled.)
AHashSet
A HashSet using RandomState to hash the items. (Requires the std feature to be enabled.)
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
BytesMut
A unique reference to a contiguous slice of memory.
FastStr
FastStr is a string type that try to avoid the cost of clone.
OrderedFloat
A wrapper around floats providing implementations of Eq, Ord, and Hash.
TryGetError
Error type for the try_get_ methods of Buf. Indicates that there were not enough remaining bytes in the buffer while attempting to get a value from a Buf with one of the try_get_ methods.

Enums§

EnumConvertError

Traits§

AsyncRead
Reads bytes from a source.
Buf
Read bytes from a buffer.
BufMut
A trait for values that provide sequential write access to bytes.

Derive Macros§

ThisError