pub enum ScreenResult {
Skip {
reason: &'static str,
entropy_bits: f64,
},
Proceed {
entropy_bits: f64,
},
}Expand description
Result of the quick-screen entropy pre-filter.
Variants§
Skip
H(X) is below threshold — data is near-deterministic.
CSSR would return a trivial 1-state machine; skip it.
Proceed
H(X) is at or above threshold — proceed to full CSSR inference.
Implementations§
Source§impl ScreenResult
impl ScreenResult
Trait Implementations§
Source§impl Clone for ScreenResult
impl Clone for ScreenResult
Source§fn clone(&self) -> ScreenResult
fn clone(&self) -> ScreenResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScreenResult
impl Debug for ScreenResult
Source§impl PartialEq for ScreenResult
impl PartialEq for ScreenResult
impl StructuralPartialEq for ScreenResult
Auto Trait Implementations§
impl Freeze for ScreenResult
impl RefUnwindSafe for ScreenResult
impl Send for ScreenResult
impl Sync for ScreenResult
impl Unpin for ScreenResult
impl UnsafeUnpin for ScreenResult
impl UnwindSafe for ScreenResult
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