pub struct EncryptionSharing { /* private fields */ }Available on crate feature
parquet only.Expand description
Shares the encryption and decryption configurations in a plan that have the same ID, along with the KMS crypto factories they use.
Values with the same ID are separate objects after a plan is deserialized. Sharing them again means they share caches, such as the KMS clients and keys of a crypto factory. The first value seen with each ID is used.
Implementations§
Source§impl EncryptionSharing
impl EncryptionSharing
Returns the shared encryption with the same ID as encryption.
Returns the shared decryption with the same ID as decryption.
Trait Implementations§
Source§impl Default for EncryptionSharing
impl Default for EncryptionSharing
Source§fn default() -> EncryptionSharing
fn default() -> EncryptionSharing
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EncryptionSharing
impl !UnwindSafe for EncryptionSharing
impl Freeze for EncryptionSharing
impl Send for EncryptionSharing
impl Sync for EncryptionSharing
impl Unpin for EncryptionSharing
impl UnsafeUnpin for EncryptionSharing
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more