Struct pbcodec::fields::Oneof3
[−]
[src]
pub struct Oneof3<A, B, C> { pub field: Option<Variant3<A, B, C>>, }
Fields
field: Option<Variant3<A, B, C>>
Trait Implementations
impl<A: Debug, B: Debug, C: Debug> Debug for Oneof3<A, B, C>
[src]
impl<A, B, C> Field for Oneof3<A, B, C> where
A: SingularField,
B: SingularField,
C: SingularField,
[src]
A: SingularField,
B: SingularField,
C: SingularField,
impl<A, B, C> From<Variant3<A, B, C>> for Oneof3<A, B, C>
[src]
impl<A, B, C> From<Option<Variant3<A, B, C>>> for Oneof3<A, B, C>
[src]
impl<A, B, C> Default for Oneof3<A, B, C>
[src]
impl<R, A, B, C> DecodeField<R> for Oneof3<A, B, C> where
R: Read,
A: DecodeField<R> + SingularField,
B: DecodeField<R> + SingularField,
C: DecodeField<R> + SingularField,
[src]
R: Read,
A: DecodeField<R> + SingularField,
B: DecodeField<R> + SingularField,
C: DecodeField<R> + SingularField,
type Future = DecodeOneof3<R, A, B, C>
fn is_target(tag: u32) -> bool
fn decode_field(
self,
reader: R,
tag: u32,
wire_type: WireType
) -> Result<Self::Future, Error<R>>
self,
reader: R,
tag: u32,
wire_type: WireType
) -> Result<Self::Future, Error<R>>
impl<W, A, B, C> Encode<W> for Oneof3<A, B, C> where
W: Write,
A: Encode<W> + SingularField,
B: Encode<W> + SingularField,
C: Encode<W> + SingularField,
[src]
W: Write,
A: Encode<W> + SingularField,
B: Encode<W> + SingularField,
C: Encode<W> + SingularField,