Struct protobuf::reflect::runtime_types::RuntimeTypeEnumOrUnknown [−][src]
pub struct RuntimeTypeEnumOrUnknown<E: ProtobufEnum + ProtobufValue>(_);
Expand description
Implementation for enum.
Trait Implementations
impl<E> RuntimeType for RuntimeTypeEnumOrUnknown<E> where
E: ProtobufEnum + ProtobufValue + Debug,
impl<E> RuntimeType for RuntimeTypeEnumOrUnknown<E> where
E: ProtobufEnum + ProtobufValue + Debug,
type Value = ProtobufEnumOrUnknown<E>
type Value = ProtobufEnumOrUnknown<E>
Actual value for this type.
“Box” version of type type.
Default value for this type.
fn from_value_box(
value_box: ReflectValueBox
) -> Result<ProtobufEnumOrUnknown<E>, ReflectValueBox>
fn from_value_box(
value_box: ReflectValueBox
) -> Result<ProtobufEnumOrUnknown<E>, ReflectValueBox>
Construct a value from given reflective value. Read more
Convert a value into a refletive box value.
Convert a value into a ref value if possible. Read more
Pointer to a dynamic reference.
Mutable pointer to a dynamic mutable reference.
Value is non-default?
Write the value.
Auto Trait Implementations
impl<E> RefUnwindSafe for RuntimeTypeEnumOrUnknown<E> where
E: RefUnwindSafe,
impl<E> Send for RuntimeTypeEnumOrUnknown<E>
impl<E> Sync for RuntimeTypeEnumOrUnknown<E>
impl<E> Unpin for RuntimeTypeEnumOrUnknown<E> where
E: Unpin,
impl<E> UnwindSafe for RuntimeTypeEnumOrUnknown<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more