pub enum WireType {
Varint,
Fixed64,
LengthDelimited,
StartGroup,
EndGroup,
Fixed32,
}
Expand description
All supported “wire types” are listed in this enum.
Variants
Varint
Variable-length integer
Fixed64
32-bit field (e. g. fixed64
or double
)
LengthDelimited
Length-delimited field
StartGroup
Groups are not supported in rust-protobuf
EndGroup
Groups are not supported in rust-protobuf
Fixed32
32-bit field (e. g. fixed32
or float
)
Implementations
Trait Implementations
impl Copy for WireType
impl Eq for WireType
impl StructuralEq for WireType
impl StructuralPartialEq for WireType
Auto Trait Implementations
impl RefUnwindSafe for WireType
impl Send for WireType
impl Sync for WireType
impl Unpin for WireType
impl UnwindSafe for WireType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more