pub enum LocalSymmetricKeySource {
Inline(LocalSymmetricKey),
ManagedReference(ManagedSymmetricKeyReference),
}Variants§
Inline(LocalSymmetricKey)
ManagedReference(ManagedSymmetricKeyReference)
Implementations§
Source§impl LocalSymmetricKeySource
impl LocalSymmetricKeySource
pub fn inline(key: impl Into<LocalSymmetricKey>) -> Self
pub fn managed_reference(key_reference: impl Into<String>) -> Self
pub fn managed_reference_with_provider( provider_name: impl Into<String>, key_reference: impl Into<String>, ) -> Self
pub fn key_reference<'a>(&'a self, default_key_reference: &'a str) -> &'a str
pub fn provider_name(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for LocalSymmetricKeySource
impl Clone for LocalSymmetricKeySource
Source§fn clone(&self) -> LocalSymmetricKeySource
fn clone(&self) -> LocalSymmetricKeySource
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 moreSource§impl Debug for LocalSymmetricKeySource
impl Debug for LocalSymmetricKeySource
Source§impl From<LocalSymmetricKey> for LocalSymmetricKeySource
impl From<LocalSymmetricKey> for LocalSymmetricKeySource
Source§fn from(value: LocalSymmetricKey) -> Self
fn from(value: LocalSymmetricKey) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LocalSymmetricKeySource
impl PartialEq for LocalSymmetricKeySource
Source§fn eq(&self, other: &LocalSymmetricKeySource) -> bool
fn eq(&self, other: &LocalSymmetricKeySource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LocalSymmetricKeySource
impl StructuralPartialEq for LocalSymmetricKeySource
Auto Trait Implementations§
impl Freeze for LocalSymmetricKeySource
impl RefUnwindSafe for LocalSymmetricKeySource
impl Send for LocalSymmetricKeySource
impl Sync for LocalSymmetricKeySource
impl Unpin for LocalSymmetricKeySource
impl UnsafeUnpin for LocalSymmetricKeySource
impl UnwindSafe for LocalSymmetricKeySource
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