pub enum AptSourceKind {
Binary,
NonBinary,
}Expand description
Standard SP 800-90B Section 4.4.2 APT alphabet category locking the fixed window size W.
Variants§
Binary
Binary noise source (0 / 1 samples): fixed window W = 1,024.
NonBinary
Non-binary noise source (multi-bit symbols): fixed window W = 512.
Implementations§
Source§impl AptSourceKind
impl AptSourceKind
Sourcepub const fn window_size(self) -> usize
pub const fn window_size(self) -> usize
Returns the SP 800-90B Section 4.4.2 mandated window size W.
Trait Implementations§
Source§impl Clone for AptSourceKind
impl Clone for AptSourceKind
impl Copy for AptSourceKind
Source§impl Debug for AptSourceKind
impl Debug for AptSourceKind
impl Eq for AptSourceKind
Source§impl PartialEq for AptSourceKind
impl PartialEq for AptSourceKind
impl StructuralPartialEq for AptSourceKind
Auto Trait Implementations§
impl Freeze for AptSourceKind
impl RefUnwindSafe for AptSourceKind
impl Send for AptSourceKind
impl Sync for AptSourceKind
impl Unpin for AptSourceKind
impl UnsafeUnpin for AptSourceKind
impl UnwindSafe for AptSourceKind
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