pub struct KmsDecryption { /* private fields */ }Available on crate features
parquet_kms and parquet only.Expand description
Creates a new key unwrapper for each file.
Implementations§
Source§impl KmsDecryption
impl KmsDecryption
pub fn new( crypto_factory: PythonCryptoFactory, kms_connection_config: Arc<KmsConnectionConfig>, decryption_configuration: DecryptionConfiguration, ) -> Self
Trait Implementations§
Source§impl DecryptionPropertiesFactory for KmsDecryption
impl DecryptionPropertiesFactory for KmsDecryption
Source§fn file_decryption_properties(
&self,
) -> PolarsResult<Arc<FileDecryptionProperties>>
fn file_decryption_properties( &self, ) -> PolarsResult<Arc<FileDecryptionProperties>>
Create decryption properties for a file.
Source§impl<'de> Deserialize<'de> for KmsDecryption
Available on crate feature serde and (crate features dsl-schema or serde) only.
impl<'de> Deserialize<'de> for KmsDecryption
Available on crate feature
serde and (crate features dsl-schema or serde) only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<KmsDecryption> for ParquetDecryption
impl From<KmsDecryption> for ParquetDecryption
Source§fn from(kms: KmsDecryption) -> Self
fn from(kms: KmsDecryption) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for KmsDecryption
Available on crate feature dsl-schema and (crate features dsl-schema or serde) only.
impl JsonSchema for KmsDecryption
Available on crate feature
dsl-schema and (crate features dsl-schema or serde) only.Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for KmsDecryption
impl !UnwindSafe for KmsDecryption
impl Freeze for KmsDecryption
impl Send for KmsDecryption
impl Sync for KmsDecryption
impl Unpin for KmsDecryption
impl UnsafeUnpin for KmsDecryption
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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