[−][src]Enum protofish::decode::UnknownValue
Unknown value.
Variants
Varint(u128)
Unknown varint (wire type = 0).
Fixed64(u64)
Unknown 64-bit value (wire type = 1).
VariableLength(Bytes)
Unknown variable length value (wire type = 2).
Fixed32(u32)
Unknown 32-bit value (wire type = 5).
Invalid(Bytes)
Invalid value.
Invalid value is a value for which the wire type wasn't valid. Encountering invalid wire type will result in the remaining bytes to be consumed from the current variable length stream as it is imposible to tell how large such invalid value is.
The decoding will continue after the current variable length value.
Trait Implementations
impl Clone for UnknownValue
[src]
pub fn clone(&self) -> UnknownValue
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UnknownValue
[src]
impl PartialEq<UnknownValue> for UnknownValue
[src]
pub fn eq(&self, other: &UnknownValue) -> bool
[src]
pub fn ne(&self, other: &UnknownValue) -> bool
[src]
impl StructuralPartialEq for UnknownValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnknownValue
impl Send for UnknownValue
impl Sync for UnknownValue
impl Unpin for UnknownValue
impl UnwindSafe for UnknownValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,