Enum Condbypass
#[repr(u8)]pub enum Condbypass {
NORMAL = 0,
BYPASS = 1,
}
Variants§
NORMAL = 0
the conditioning function is used (normal mode).
BYPASS = 1
the conditioning function is bypassed (to observe entropy source directly).
Implementations§
§impl Condbypass
impl Condbypass
pub const fn from_bits(val: u8) -> Condbypass
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Condbypass
impl Clone for Condbypass
§fn clone(&self) -> Condbypass
fn clone(&self) -> Condbypass
Returns a copy 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 more§impl From<u8> for Condbypass
impl From<u8> for Condbypass
§fn from(val: u8) -> Condbypass
fn from(val: u8) -> Condbypass
Converts to this type from the input type.
§impl Ord for Condbypass
impl Ord for Condbypass
§impl PartialEq for Condbypass
impl PartialEq for Condbypass
§impl PartialOrd for Condbypass
impl PartialOrd for Condbypass
impl Copy for Condbypass
impl Eq for Condbypass
impl StructuralPartialEq for Condbypass
Auto Trait Implementations§
impl Freeze for Condbypass
impl RefUnwindSafe for Condbypass
impl Send for Condbypass
impl Sync for Condbypass
impl Unpin for Condbypass
impl UnwindSafe for Condbypass
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)