Crate serde_mtproto [−] [src]
Serde MTProto
MTProto is a mobile-first protocol for access to a server API. This crate provides means to serialize Rust types to its binary representation and to deserialize from said representation.
Reexports
pub use boxed::Boxed; |
pub use error::Error; |
pub use error::ErrorKind; |
pub use error::Result; |
pub use error::ResultExt; |
pub use helpers::ByteBuf; |
pub use helpers::Bytes; |
pub use identifiable::Identifiable; |
pub use sized::MtProtoSized; |
pub use ser::Serializer; |
pub use ser::to_bytes; |
pub use ser::to_writer; |
pub use de::Deserializer; |
pub use de::from_bytes; |
pub use de::from_reader; |
Modules
boxed |
|
de |
Deserialize MTProto binary representation to a Rust data structure. |
error |
When serializing or deserializing MTProto goes wrong. |
helpers |
Various helper types to assist in expressing certain data layouts. |
identifiable |
|
ser |
Serialize a Rust data structure into its MTProto binary representation. |
sized |
|