Struct parquet_format_async_temp::AesGcmCtrV1
source · [−]pub struct AesGcmCtrV1 {
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
sourceimpl AesGcmCtrV1
impl AesGcmCtrV1
pub fn new<F1, F2, F3>(
aad_prefix: F1,
aad_file_unique: F2,
supply_aad_prefix: F3
) -> AesGcmCtrV1 where
F1: Into<Option<Vec<u8>>>,
F2: Into<Option<Vec<u8>>>,
F3: Into<Option<bool>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<AesGcmCtrV1>
pub async fn stream_from_in_protocol(
i_prot: &mut dyn TInputStreamProtocol
) -> Result<AesGcmCtrV1>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<usize>
pub async fn write_to_out_stream_protocol(
&self,
o_prot: &mut dyn TOutputStreamProtocol
) -> Result<usize>
Trait Implementations
sourceimpl Clone for AesGcmCtrV1
impl Clone for AesGcmCtrV1
sourcefn clone(&self) -> AesGcmCtrV1
fn clone(&self) -> AesGcmCtrV1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AesGcmCtrV1
impl Debug for AesGcmCtrV1
sourceimpl Default for AesGcmCtrV1
impl Default for AesGcmCtrV1
sourceimpl Hash for AesGcmCtrV1
impl Hash for AesGcmCtrV1
sourceimpl Ord for AesGcmCtrV1
impl Ord for AesGcmCtrV1
sourceimpl PartialEq<AesGcmCtrV1> for AesGcmCtrV1
impl PartialEq<AesGcmCtrV1> for AesGcmCtrV1
sourcefn eq(&self, other: &AesGcmCtrV1) -> bool
fn eq(&self, other: &AesGcmCtrV1) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AesGcmCtrV1) -> bool
fn ne(&self, other: &AesGcmCtrV1) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AesGcmCtrV1> for AesGcmCtrV1
impl PartialOrd<AesGcmCtrV1> for AesGcmCtrV1
sourcefn partial_cmp(&self, other: &AesGcmCtrV1) -> Option<Ordering>
fn partial_cmp(&self, other: &AesGcmCtrV1) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for AesGcmCtrV1
impl StructuralEq for AesGcmCtrV1
impl StructuralPartialEq for AesGcmCtrV1
Auto Trait Implementations
impl RefUnwindSafe for AesGcmCtrV1
impl Send for AesGcmCtrV1
impl Sync for AesGcmCtrV1
impl Unpin for AesGcmCtrV1
impl UnwindSafe for AesGcmCtrV1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more