[−][src]Enum protofish::decode::Value
Decoded protocol buffer value.
Variants
Double(f64)
double
value.
Float(f32)
float
value.
Int32(i32)
int32
value.
Int64(i64)
int64
value.
UInt32(u32)
uint32
value.
UInt64(u64)
uint64
value.
SInt32(i32)
sint32
value.
SInt64(i64)
sint64
value.
Fixed32(u32)
fixed32
value.
Fixed64(u64)
fixed64
value.
SFixed32(i32)
sfixed32
value.
SFixed64(i64)
sfixed64
value.
Bool(bool)
bool
value.
String(String)
string
value.
Bytes(Bytes)
bytes
value.
Packed(PackedArray)
A repeated packed value.
Message(Box<MessageValue>)
Message type value.
Enum(EnumValue)
Enum type value.
Incomplete(Bytes)
Value which was incomplete due to missing bytes in the payload.
Unknown(UnknownValue)
Value which wasn't defined in the context.
The wire type allows the decoder to tell how large an unknown value is. This allows the unknown value to be skipped and decoding can continue from the next value.
Trait Implementations
impl Clone for Value
[src]
impl Debug for Value
[src]
impl PartialEq<Value> for Value
[src]
impl StructuralPartialEq for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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>,