#[non_exhaustive]pub enum ExportPolicy {
Public,
SecretOwnerRequired,
NonExportable,
}Expand description
Whether material may cross the 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.
Public
Public or ciphertext material may be returned without restriction.
SecretOwnerRequired
Secret bytes may be returned only through an explicitly secret owner.
NonExportable
Provider-resident material must not be exported as raw bytes.
Trait Implementations§
Source§impl Clone for ExportPolicy
impl Clone for ExportPolicy
Source§fn clone(&self) -> ExportPolicy
fn clone(&self) -> ExportPolicy
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 ExportPolicy
Source§impl Debug for ExportPolicy
impl Debug for ExportPolicy
impl Eq for ExportPolicy
Source§impl PartialEq for ExportPolicy
impl PartialEq for ExportPolicy
impl StructuralPartialEq for ExportPolicy
Auto Trait Implementations§
impl Freeze for ExportPolicy
impl RefUnwindSafe for ExportPolicy
impl Send for ExportPolicy
impl Sync for ExportPolicy
impl Unpin for ExportPolicy
impl UnsafeUnpin for ExportPolicy
impl UnwindSafe for ExportPolicy
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