#[non_exhaustive]pub enum KeyCopyBoundary {
NoSecretInput,
BorrowedCallerSecret,
ProviderCreatesSecret,
}Expand description
Secret-input copy behavior at the provider 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.
NoSecretInput
The operation has no secret-key input.
BorrowedCallerSecret
The provider borrows caller-owned secret bytes for the duration of one call.
ProviderCreatesSecret
The provider creates a new secret owner for the result.
Trait Implementations§
Source§impl Clone for KeyCopyBoundary
impl Clone for KeyCopyBoundary
Source§fn clone(&self) -> KeyCopyBoundary
fn clone(&self) -> KeyCopyBoundary
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 KeyCopyBoundary
Source§impl Debug for KeyCopyBoundary
impl Debug for KeyCopyBoundary
impl Eq for KeyCopyBoundary
Source§impl PartialEq for KeyCopyBoundary
impl PartialEq for KeyCopyBoundary
impl StructuralPartialEq for KeyCopyBoundary
Auto Trait Implementations§
impl Freeze for KeyCopyBoundary
impl RefUnwindSafe for KeyCopyBoundary
impl Send for KeyCopyBoundary
impl Sync for KeyCopyBoundary
impl Unpin for KeyCopyBoundary
impl UnsafeUnpin for KeyCopyBoundary
impl UnwindSafe for KeyCopyBoundary
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