Struct tor_llcrypto::cipher::aes::Aes128Key
source · pub struct Aes128Key(/* private fields */);
Expand description
AES 128 key
Trait Implementations§
source§impl KeyInit for Aes128Key
impl KeyInit for Aes128Key
source§fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
Create new value from variable size key.
source§impl KeySizeUser for Aes128Key
impl KeySizeUser for Aes128Key
Auto Trait Implementations§
impl Freeze for Aes128Key
impl RefUnwindSafe for Aes128Key
impl Send for Aes128Key
impl Sync for Aes128Key
impl Unpin for Aes128Key
impl UnwindSafe for Aes128Key
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> 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