#[non_exhaustive]pub enum BufferOwner {
Caller,
OperationLayer,
OperationContract,
NativeAdapter,
ManagedRuntime,
PlatformProvider,
}Expand description
Layer responsible for a material buffer at an operation boundary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Caller
The caller owns borrowed input storage.
OperationLayer
The semantic Rust operation owns a result or temporary.
OperationContract
The protobuf contract owns an encoded request or response buffer.
NativeAdapter
A C ABI or JNI adapter owns native memory for a caller.
ManagedRuntime
A managed SDK/runtime owns memory Rust cannot deterministically wipe.
PlatformProvider
A platform provider owns non-exportable key material.
Trait Implementations§
Source§impl Clone for BufferOwner
impl Clone for BufferOwner
Source§fn clone(&self) -> BufferOwner
fn clone(&self) -> BufferOwner
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 moreimpl Copy for BufferOwner
Source§impl Debug for BufferOwner
impl Debug for BufferOwner
impl Eq for BufferOwner
Source§impl PartialEq for BufferOwner
impl PartialEq for BufferOwner
impl StructuralPartialEq for BufferOwner
Auto Trait Implementations§
impl Freeze for BufferOwner
impl RefUnwindSafe for BufferOwner
impl Send for BufferOwner
impl Sync for BufferOwner
impl Unpin for BufferOwner
impl UnsafeUnpin for BufferOwner
impl UnwindSafe for BufferOwner
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