#[non_exhaustive]pub enum ProviderOutputPolicy {
PublicOnly,
ZeroizingSecret,
}Expand description
Sensitivity and cleanup contract for the provider result.
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.
PublicOnly
The result contains no secret-bearing output.
ZeroizingSecret
Secret output is returned in a zeroizing Rust owner.
Trait Implementations§
Source§impl Clone for ProviderOutputPolicy
impl Clone for ProviderOutputPolicy
Source§fn clone(&self) -> ProviderOutputPolicy
fn clone(&self) -> ProviderOutputPolicy
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 ProviderOutputPolicy
Source§impl Debug for ProviderOutputPolicy
impl Debug for ProviderOutputPolicy
impl Eq for ProviderOutputPolicy
Source§impl PartialEq for ProviderOutputPolicy
impl PartialEq for ProviderOutputPolicy
impl StructuralPartialEq for ProviderOutputPolicy
Auto Trait Implementations§
impl Freeze for ProviderOutputPolicy
impl RefUnwindSafe for ProviderOutputPolicy
impl Send for ProviderOutputPolicy
impl Sync for ProviderOutputPolicy
impl Unpin for ProviderOutputPolicy
impl UnsafeUnpin for ProviderOutputPolicy
impl UnwindSafe for ProviderOutputPolicy
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