pub enum EntropyClass {
VeryLow,
Low,
Medium,
High,
}Expand description
Entropy classification based on Shannon entropy
Variants§
VeryLow
Very low entropy (<4.0 bits/byte) - highly repetitive
Low
Low entropy (<6.0 bits/byte) - typical text
Medium
Medium entropy (<7.5 bits/byte) - mixed content
High
High entropy (≥7.5 bits/byte) - random/compressed
Implementations§
Trait Implementations§
Source§impl Clone for EntropyClass
impl Clone for EntropyClass
impl Copy for EntropyClass
Source§impl Debug for EntropyClass
impl Debug for EntropyClass
impl Eq for EntropyClass
Source§impl Hash for EntropyClass
impl Hash for EntropyClass
Source§impl PartialEq for EntropyClass
impl PartialEq for EntropyClass
impl StructuralPartialEq for EntropyClass
Auto Trait Implementations§
impl Forget for EntropyClass
impl Freeze for EntropyClass
impl RefUnwindSafe for EntropyClass
impl Send for EntropyClass
impl Sync for EntropyClass
impl Unpin for EntropyClass
impl UnsafeUnpin for EntropyClass
impl UnwindSafe for EntropyClass
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