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<D: ResourceDialect> Decode<BufferCollectionConstraintsAuxBuffers, D> for BufferCollectionConstraintsAuxBuffers
impl<D: ResourceDialect> Decode<BufferCollectionConstraintsAuxBuffers, D> for BufferCollectionConstraintsAuxBuffers
Source§impl<D: ResourceDialect> Encode<BufferCollectionConstraintsAuxBuffers, D> for &BufferCollectionConstraintsAuxBuffers
impl<D: ResourceDialect> Encode<BufferCollectionConstraintsAuxBuffers, D> for &BufferCollectionConstraintsAuxBuffers
Source§impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<bool, D>> Encode<BufferCollectionConstraintsAuxBuffers, D> for (T0, T1)
impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<bool, D>> Encode<BufferCollectionConstraintsAuxBuffers, D> 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§impl TypeMarker for BufferCollectionConstraintsAuxBuffers
impl TypeMarker for BufferCollectionConstraintsAuxBuffers
Source§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
Source§type Borrowed<'a> = &'a BufferCollectionConstraintsAuxBuffers
type Borrowed<'a> = &'a BufferCollectionConstraintsAuxBuffers
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for BufferCollectionConstraintsAuxBuffers
impl Eq for BufferCollectionConstraintsAuxBuffers
impl Persistable for BufferCollectionConstraintsAuxBuffers
impl StructuralPartialEq for BufferCollectionConstraintsAuxBuffers
Auto Trait Implementations§
impl Freeze for BufferCollectionConstraintsAuxBuffers
impl RefUnwindSafe for BufferCollectionConstraintsAuxBuffers
impl Send for BufferCollectionConstraintsAuxBuffers
impl Sync for BufferCollectionConstraintsAuxBuffers
impl Unpin for BufferCollectionConstraintsAuxBuffers
impl UnwindSafe for BufferCollectionConstraintsAuxBuffers
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)