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