#[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§
Source§impl Condbypass
impl Condbypass
Trait Implementations§
Source§impl Clone for Condbypass
impl Clone for Condbypass
Source§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 moreSource§impl From<Condbypass> for u8
impl From<Condbypass> for u8
Source§fn from(val: Condbypass) -> u8
fn from(val: Condbypass) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Condbypass
impl From<u8> for Condbypass
Source§fn from(val: u8) -> Condbypass
fn from(val: u8) -> Condbypass
Converts to this type from the input type.
Source§impl Ord for Condbypass
impl Ord for Condbypass
Source§fn cmp(&self, other: &Condbypass) -> Ordering
fn cmp(&self, other: &Condbypass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Condbypass
impl PartialEq for Condbypass
Source§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
)