pub enum WireType {
Varint = 0,
Bit32 = 5,
Bit64 = 1,
LengthDelimited = 2,
}Expand description
Wire type.
protobuf_codec does not support deprecated types (i.e., “Start group” and “End group”).
See Message Structure for information about each types.
Variants§
Trait Implementations§
impl Copy for WireType
impl Eq for WireType
impl StructuralPartialEq for WireType
Auto Trait Implementations§
impl Freeze for WireType
impl RefUnwindSafe for WireType
impl Send for WireType
impl Sync for WireType
impl Unpin for WireType
impl UnwindSafe for WireType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more