#[repr(u8)]pub enum WireType {
Varint = 0,
LengthDelimited = 2,
}
Expand description
Wire type of a field.
Variants§
Trait Implementations§
source§impl PartialEq for WireType
impl PartialEq for WireType
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§
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