pub struct BufferCollectionConstraintsAuxBuffers {
pub need_clear_aux_buffers_for_secure: bool,
pub allow_clear_aux_buffers_for_secure: bool,
}
Fields§
§need_clear_aux_buffers_for_secure: bool
If true, a secure heap may only be selected if all participants with BufferMemoryConstraints specify allow_clear_aux_buffers_for_secure. If “need” is true, “allow” must also be true.
If false, the participant can still work, potentially even with secure memory (depending on supported heaps), without clear aux buffers.
allow_clear_aux_buffers_for_secure: bool
If true, the participant will use clear aux buffers, if they are allocated, as appropriate to the participant’s role. If the participant is a producer, then the participant producer will populate the clear aux buffers with the clear (not-encrypted, not-DRM-protected) bytes, and fill protected bytes with data that does not emulate start codes, such as 0xFF.
If BufferCollectionConstraintsAuxBuffers is never sent by a participant, then “allow” is true iff the participant specifies usage which is read only.
If unspecified by a participant with write usage, or false, the buffer collection won’t be able to allocate if any participant specifies need_clear_aux_buffers_for_secure true.
Trait Implementations§
source§impl Clone for BufferCollectionConstraintsAuxBuffers
impl Clone for BufferCollectionConstraintsAuxBuffers
source§fn clone(&self) -> BufferCollectionConstraintsAuxBuffers
fn clone(&self) -> BufferCollectionConstraintsAuxBuffers
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Decode<BufferCollectionConstraintsAuxBuffers> for BufferCollectionConstraintsAuxBuffers
impl Decode<BufferCollectionConstraintsAuxBuffers> for BufferCollectionConstraintsAuxBuffers
source§impl Encode<BufferCollectionConstraintsAuxBuffers> for &BufferCollectionConstraintsAuxBuffers
impl Encode<BufferCollectionConstraintsAuxBuffers> for &BufferCollectionConstraintsAuxBuffers
source§impl<T0: Encode<bool>, T1: Encode<bool>> Encode<BufferCollectionConstraintsAuxBuffers> for (T0, T1)
impl<T0: Encode<bool>, T1: Encode<bool>> Encode<BufferCollectionConstraintsAuxBuffers> for (T0, T1)
source§impl Ord for BufferCollectionConstraintsAuxBuffers
impl Ord for BufferCollectionConstraintsAuxBuffers
source§fn cmp(&self, other: &BufferCollectionConstraintsAuxBuffers) -> Ordering
fn cmp(&self, other: &BufferCollectionConstraintsAuxBuffers) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for BufferCollectionConstraintsAuxBuffers
impl PartialEq for BufferCollectionConstraintsAuxBuffers
source§fn eq(&self, other: &BufferCollectionConstraintsAuxBuffers) -> bool
fn eq(&self, other: &BufferCollectionConstraintsAuxBuffers) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BufferCollectionConstraintsAuxBuffers
impl PartialOrd for BufferCollectionConstraintsAuxBuffers
source§fn partial_cmp(
&self,
other: &BufferCollectionConstraintsAuxBuffers
) -> Option<Ordering>
fn partial_cmp( &self, other: &BufferCollectionConstraintsAuxBuffers ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for BufferCollectionConstraintsAuxBuffers
impl TypeMarker for BufferCollectionConstraintsAuxBuffers
§type Owned = BufferCollectionConstraintsAuxBuffers
type Owned = BufferCollectionConstraintsAuxBuffers
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for BufferCollectionConstraintsAuxBuffers
impl ValueTypeMarker for BufferCollectionConstraintsAuxBuffers
§type Borrowed<'a> = &'a BufferCollectionConstraintsAuxBuffers
type Borrowed<'a> = &'a BufferCollectionConstraintsAuxBuffers
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more