pub enum UnknownValueRef<'o> {
Fixed32(u32),
Fixed64(u64),
Varint(u64),
LengthDelimited(&'o [u8]),
}
Expand description
Reference to unknown value.
See UnknownFields
for explanations.
Variants§
Fixed32(u32)
32-bit unknown
Fixed64(u64)
64-bit unknown
Varint(u64)
Varint unknown
LengthDelimited(&'o [u8])
Length-delimited unknown
Implementations§
Trait Implementations§
Source§impl<'o> Debug for UnknownValueRef<'o>
impl<'o> Debug for UnknownValueRef<'o>
Source§impl<'o> PartialEq for UnknownValueRef<'o>
impl<'o> PartialEq for UnknownValueRef<'o>
impl<'o> StructuralPartialEq for UnknownValueRef<'o>
Auto Trait Implementations§
impl<'o> Freeze for UnknownValueRef<'o>
impl<'o> RefUnwindSafe for UnknownValueRef<'o>
impl<'o> Send for UnknownValueRef<'o>
impl<'o> Sync for UnknownValueRef<'o>
impl<'o> Unpin for UnknownValueRef<'o>
impl<'o> UnwindSafe for UnknownValueRef<'o>
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