Struct parquet_format_async_temp::AesGcmV1 [−][src]
pub struct AesGcmV1 {
pub aad_prefix: Option<Vec<u8>>,
pub aad_file_unique: Option<Vec<u8>>,
pub supply_aad_prefix: Option<bool>,
}
Fields
aad_prefix: Option<Vec<u8>>
AAD prefix *
aad_file_unique: Option<Vec<u8>>
Unique file identifier part of AAD suffix *
supply_aad_prefix: Option<bool>
In files encrypted with AAD prefix without storing it, readers must supply the prefix *
Implementations
pub fn new<F1, F2, F3>(
aad_prefix: F1,
aad_file_unique: F2,
supply_aad_prefix: F3
) -> AesGcmV1 where
F1: Into<Option<Vec<u8>>>,
F2: Into<Option<Vec<u8>>>,
F3: Into<Option<bool>>,
pub async fn stream_from_in_protocol(
i_prot: &mut dyn TInputStreamProtocol
) -> Result<AesGcmV1>
pub async fn write_to_out_stream_protocol(
&self,
o_prot: &mut dyn TOutputStreamProtocol
) -> Result<usize>
Trait Implementations
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 AesGcmV1
impl UnwindSafe for AesGcmV1
Blanket Implementations
Mutably borrows from an owned value. Read more