pub struct AesGcmV1 {
pub aad_prefix: Option<Vec<u8>>,
pub aad_file_unique: Option<Vec<u8>>,
pub supply_aad_prefix: Option<bool>,
}
๐Deprecated since 57.0.0: The
format
module is no longer maintained, and will be removed in 59.0.0
Fieldsยง
ยงaad_prefix: Option<Vec<u8>>
๐Deprecated since 57.0.0: The
format
module is no longer maintained, and will be removed in 59.0.0
AAD prefix *
aad_file_unique: Option<Vec<u8>>
๐Deprecated since 57.0.0: The
format
module is no longer maintained, and will be removed in 59.0.0
Unique file identifier part of AAD suffix *
supply_aad_prefix: Option<bool>
๐Deprecated since 57.0.0: The
format
module is no longer maintained, and will be removed in 59.0.0
In files encrypted with AAD prefix without storing it, readers must supply the prefix *
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Ord for AesGcmV1
impl Ord for AesGcmV1
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialOrd for AesGcmV1
impl PartialOrd for AesGcmV1
Sourceยงimpl TSerializable for AesGcmV1
impl TSerializable for AesGcmV1
Sourceยงfn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<AesGcmV1>
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<AesGcmV1>
Reads the struct from the input Thrift protocol
Sourceยงfn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T,
) -> Result<()>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
Writes the struct to the output Thrift protocol
impl Eq for AesGcmV1
impl StructuralPartialEq for AesGcmV1
Auto Trait Implementationsยง
impl Freeze for AesGcmV1
impl RefUnwindSafe for AesGcmV1
impl Send for AesGcmV1
impl Sync for AesGcmV1
impl Unpin for AesGcmV1
impl UnwindSafe for AesGcmV1
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
ยงimpl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
ยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
ยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
ยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
ยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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