pub enum ConfigVectorValue {
BoolVector(Vec<bool>),
Uint8Vector(Vec<u8>),
Uint16Vector(Vec<u16>),
Uint32Vector(Vec<u32>),
Uint64Vector(Vec<u64>),
Int8Vector(Vec<i8>),
Int16Vector(Vec<i16>),
Int32Vector(Vec<i32>),
Int64Vector(Vec<i64>),
StringVector(Vec<String>),
UnknownOrdinal_(u64),
}
Expand description
A vector configuration value.
Variants§
BoolVector(Vec<bool>)
Uint8Vector(Vec<u8>)
Uint16Vector(Vec<u16>)
Uint32Vector(Vec<u32>)
Uint64Vector(Vec<u64>)
Int8Vector(Vec<i8>)
Int16Vector(Vec<i16>)
Int32Vector(Vec<i32>)
Int64Vector(Vec<i64>)
StringVector(Vec<String>)
UnknownOrdinal_(u64)
Trait Implementations§
Source§impl Clone for ConfigVectorValue
impl Clone for ConfigVectorValue
Source§fn clone(&self) -> ConfigVectorValue
fn clone(&self) -> ConfigVectorValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigVectorValue
impl Debug for ConfigVectorValue
Source§impl Encodable for ConfigVectorValue
impl Encodable for ConfigVectorValue
Source§type Encoded = WireConfigVectorValue
type Encoded = WireConfigVectorValue
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<ConfigVectorValue>
impl EncodableOption for Box<ConfigVectorValue>
Source§type EncodedOption = WireOptionalConfigVectorValue
type EncodedOption = WireOptionalConfigVectorValue
The wire type for the optional value.
Source§impl<___E> Encode<___E> for ConfigVectorValuewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<___E> for ConfigVectorValuewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<___E> for Box<ConfigVectorValue>where
___E: ?Sized,
ConfigVectorValue: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<ConfigVectorValue>where
___E: ?Sized,
ConfigVectorValue: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireConfigVectorValue> for ConfigVectorValue
impl TakeFrom<WireConfigVectorValue> for ConfigVectorValue
Source§fn take_from(from: &WireConfigVectorValue) -> Self
fn take_from(from: &WireConfigVectorValue) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for ConfigVectorValue
impl RefUnwindSafe for ConfigVectorValue
impl Send for ConfigVectorValue
impl Sync for ConfigVectorValue
impl Unpin for ConfigVectorValue
impl UnwindSafe for ConfigVectorValue
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