Crate protobuf_core

Crate protobuf_core 

Source
Expand description

Protocol Buffers core library

This library provides common definitions, constants, enums, and basic logic for implementing Protocol Buffers in Rust.

Re-exports§

pub use self::field::WriteExtProtobuf;
pub use self::field::Field;
pub use self::field::FieldValue;
pub use self::field::ProtobufFieldIterator;
pub use self::field::ReadExtProtobuf;
pub use self::field_number::FieldNumber;
pub use self::tag::ReadExtTag;
pub use self::tag::Tag;
pub use self::tag::read_tag;
pub use self::varint::IteratorExtVarint;
pub use self::varint::ReadExtVarint;
pub use self::varint::Varint;
pub use self::varint::WriteExtVarint;
pub use self::wire_format::MAX_FIELD_NUMBER;
pub use self::wire_format::MAX_MESSAGE_SIZE;
pub use self::wire_format::MIN_FIELD_NUMBER;
pub use self::wire_format::WireType;

Modules§

field
Field-level I/O utilities for Protocol Buffers
field_number
tag
Tag encoding and decoding for Protocol Buffers.
varint
Varint encoding and decoding logic for Protocol Buffers.
wire_format
Protocol Buffers wire format constants and definitions.

Enums§

ProtobufError
Unified error type for all protobuf operations

Type Aliases§

Result
Custom Result type for protobuf operations