Struct protobuf::types::ProtobufTypeEnum [−][src]
pub struct ProtobufTypeEnum<E: ProtobufEnum>(_);
enum
Trait Implementations
impl<E: ProtobufEnum + ProtobufValue> ProtobufType for ProtobufTypeEnum<E>
[src]
impl<E: ProtobufEnum + ProtobufValue> ProtobufType for ProtobufTypeEnum<E>
[src]type Value = E
Rust type of value
fn wire_type() -> WireType
[src]
fn read(is: &mut CodedInputStream<'_>) -> ProtobufResult<E>
[src]
fn get_from_unknown(unknown_values: &UnknownValues) -> Option<E>
[src]
fn compute_size(value: &E) -> u32
[src]
fn write_with_cached_size(
field_number: u32,
value: &E,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
field_number: u32,
value: &E,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn compute_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
fn get_cached_size(value: &Self::Value) -> u32
[src]
fn get_cached_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for ProtobufTypeEnum<E> where
E: RefUnwindSafe,
impl<E> RefUnwindSafe for ProtobufTypeEnum<E> where
E: RefUnwindSafe,
impl<E> Send for ProtobufTypeEnum<E> where
E: Send,
impl<E> Send for ProtobufTypeEnum<E> where
E: Send,
impl<E> Sync for ProtobufTypeEnum<E> where
E: Sync,
impl<E> Sync for ProtobufTypeEnum<E> where
E: Sync,
impl<E> Unpin for ProtobufTypeEnum<E> where
E: Unpin,
impl<E> Unpin for ProtobufTypeEnum<E> where
E: Unpin,
impl<E> UnwindSafe for ProtobufTypeEnum<E> where
E: UnwindSafe,
impl<E> UnwindSafe for ProtobufTypeEnum<E> where
E: UnwindSafe,