[][src]Struct parquet_format::AesGcmCtrV1

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

impl AesGcmCtrV1[src]

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>>, 
[src]

pub fn read_from_in_protocol(
    i_prot: &mut dyn TInputProtocol
) -> Result<AesGcmCtrV1>
[src]

pub fn write_to_out_protocol(
    &self,
    o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]

Trait Implementations

impl Clone for AesGcmCtrV1[src]

impl Debug for AesGcmCtrV1[src]

impl Default for AesGcmCtrV1[src]

impl Eq for AesGcmCtrV1[src]

impl Hash for AesGcmCtrV1[src]

impl Ord for AesGcmCtrV1[src]

impl PartialEq<AesGcmCtrV1> for AesGcmCtrV1[src]

impl PartialOrd<AesGcmCtrV1> for AesGcmCtrV1[src]

impl StructuralEq for AesGcmCtrV1[src]

impl StructuralPartialEq for AesGcmCtrV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.