pub struct Encryption30 {
key: Option<Vec<u8>>,
}Available on crate features
qlie and qlie-arc only.Fields§
§key: Option<Vec<u8>>Implementations§
Trait Implementations§
Source§impl Debug for Encryption30
impl Debug for Encryption30
Source§impl Encryption for Encryption30
impl Encryption for Encryption30
fn decrypt_name( &self, name: &mut [u8], hash: i32, encoding: Encoding, ) -> Result<String>
fn create_hash(&self) -> Result<Box<dyn Hasher>>
fn compute_hash(&self, data: &[u8]) -> Result<u32>
fn decrypt_entry<'a>( &self, stream: Box<dyn ReadSeek + Send + Sync + 'a>, entry: &QlieEntry, ) -> Result<Box<dyn ReadDebug + Send + Sync + 'a>>
fn is_unicode(&self) -> bool
fn index_has_hash(&self) -> bool
Auto Trait Implementations§
impl Freeze for Encryption30
impl RefUnwindSafe for Encryption30
impl Send for Encryption30
impl Sync for Encryption30
impl Unpin for Encryption30
impl UnwindSafe for Encryption30
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