Struct parquet_format_async_temp::FileCryptoMetaData [−][src]
pub struct FileCryptoMetaData {
pub encryption_algorithm: EncryptionAlgorithm,
pub key_metadata: Option<Vec<u8>>,
}
Expand description
Crypto metadata for files with encrypted footer *
Fields
encryption_algorithm: EncryptionAlgorithm
Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure).
key_metadata: Option<Vec<u8>>
Retrieval metadata of key used for encryption of footer, and (possibly) columns *
Implementations
pub fn new<F2>(
encryption_algorithm: EncryptionAlgorithm,
key_metadata: F2
) -> FileCryptoMetaData where
F2: Into<Option<Vec<u8>>>,
pub async fn stream_from_in_protocol(
i_prot: &mut dyn TInputStreamProtocol
) -> Result<FileCryptoMetaData>
pub async fn write_to_out_stream_protocol(
&self,
o_prot: &mut dyn TOutputStreamProtocol
) -> Result<usize>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileCryptoMetaData
impl Send for FileCryptoMetaData
impl Sync for FileCryptoMetaData
impl Unpin for FileCryptoMetaData
impl UnwindSafe for FileCryptoMetaData
Blanket Implementations
Mutably borrows from an owned value. Read more