pub enum DecodableField<'a> {
Primitive(DecodablePrimitive<'a>),
Struct(Vec<DecodableField<'a>>),
}Expand description
Used to contrustuct messages is returned by the decoder
Variants§
Primitive(DecodablePrimitive<'a>)
Struct(Vec<DecodableField<'a>>)
Trait Implementations§
Source§impl<'a> Debug for DecodableField<'a>
impl<'a> Debug for DecodableField<'a>
Source§impl<'a> From<DecodableField<'a>> for Vec<DecodableField<'a>>
impl<'a> From<DecodableField<'a>> for Vec<DecodableField<'a>>
Source§fn from(v: DecodableField<'a>) -> Vec<DecodableField<'a>>
fn from(v: DecodableField<'a>) -> Vec<DecodableField<'a>>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for DecodableField<'a>
impl<'a> RefUnwindSafe for DecodableField<'a>
impl<'a> Send for DecodableField<'a>
impl<'a> Sync for DecodableField<'a>
impl<'a> Unpin for DecodableField<'a>
impl<'a> !UnwindSafe for DecodableField<'a>
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