pub enum ProductPolicy {
Sivm(SivmPolicy),
Cwcow(CwcowPolicy),
Azure(AzurePolicy),
}Expand description
Measured product policy. Mesh tags are part of the wire format and must never be reused.
Variants§
Implementations§
Source§impl ProductPolicy
impl ProductPolicy
Sourcepub fn set_vpci_relay(&mut self, vpci_relay: VpciRelayPolicy)
pub fn set_vpci_relay(&mut self, vpci_relay: VpciRelayPolicy)
Sets the VPCI relay settings from the manifest’s device policy file.
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 (const: unstable) · 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§fn eq(&self, other: &ProductPolicy) -> bool
fn eq(&self, other: &ProductPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.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.
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].