[−][src]Struct protobuf::types::ProtobufTypeEnum
Trait Implementations
impl<E: ProtobufEnum + ProtobufValue> ProtobufType for ProtobufTypeEnum<E>
[src]
type Value = E
fn wire_type() -> WireType
[src]
fn read(is: &mut CodedInputStream) -> ProtobufResult<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_from_unknown(_unknown_values: &UnknownValues) -> Option<Self::Value>
[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> Send for ProtobufTypeEnum<E> where
E: Send,
E: Send,
impl<E> Unpin for ProtobufTypeEnum<E> where
E: Unpin,
E: Unpin,
impl<E> Sync for ProtobufTypeEnum<E> where
E: Sync,
E: Sync,
impl<E> UnwindSafe for ProtobufTypeEnum<E> where
E: UnwindSafe,
E: UnwindSafe,
impl<E> RefUnwindSafe for ProtobufTypeEnum<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,