pub enum ProductPolicy {
Sivm(SivmPolicy),
Cwcow(CwcowPolicy),
}Expand description
Measured product policy. Mesh tags are part of the wire format and must never be reused.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProductPolicy
impl Clone for ProductPolicy
Source§fn clone(&self) -> ProductPolicy
fn clone(&self) -> ProductPolicy
Returns a duplicate 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 ProductPolicy
impl Debug for ProductPolicy
Source§impl DefaultEncoding for ProductPolicy
impl DefaultEncoding for ProductPolicy
Source§impl DescribeOneof for ProductPolicy
impl DescribeOneof for ProductPolicy
Source§const DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
The protobuf message description for this type.
Source§impl<'de> Deserialize<'de> for ProductPolicy
impl<'de> Deserialize<'de> for ProductPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'encoding, AnyR: 'static> OneofDecode<'encoding, AnyR> for ProductPolicy
impl<'encoding, AnyR: 'static> OneofDecode<'encoding, AnyR> for ProductPolicy
Source§fn read_variant(
item: &mut InplaceOption<'_, Self>,
n: u32,
field: FieldReader<'encoding, '_, AnyR>,
) -> Result<()>
fn read_variant( item: &mut InplaceOption<'_, Self>, n: u32, field: FieldReader<'encoding, '_, AnyR>, ) -> Result<()>
Read the specified variant from the reader.
Source§impl<AnyR: 'static> OneofEncode<AnyR> for ProductPolicy
impl<AnyR: 'static> OneofEncode<AnyR> for ProductPolicy
Source§fn write_variant(self, writer: MessageWriter<'_, '_, AnyR>)
fn write_variant(self, writer: MessageWriter<'_, '_, AnyR>)
Write the variant to the writer.
Source§fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
Compute the size of the variant.
Source§impl PartialEq for ProductPolicy
impl PartialEq for ProductPolicy
Source§impl Serialize for ProductPolicy
impl Serialize for ProductPolicy
impl StructuralPartialEq for ProductPolicy
Auto Trait Implementations§
impl Freeze for ProductPolicy
impl RefUnwindSafe for ProductPolicy
impl Send for ProductPolicy
impl Sync for ProductPolicy
impl Unpin for ProductPolicy
impl UnsafeUnpin for ProductPolicy
impl UnwindSafe for ProductPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DescribedProtobuf for Twhere
T: DefaultEncoding + Protobuf,
<T as DefaultEncoding>::Encoding: DescribeMessage<T>,
impl<T> DescribedProtobuf for Twhere
T: DefaultEncoding + Protobuf,
<T as DefaultEncoding>::Encoding: DescribeMessage<T>,
§const DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
The message description.