#[repr(u8)]pub enum TrngStatus {
IDLE = 0,
BUSY = 1,
}
Variants§
Implementations§
Source§impl TrngStatus
impl TrngStatus
Trait Implementations§
Source§impl Clone for TrngStatus
impl Clone for TrngStatus
Source§fn clone(&self) -> TrngStatus
fn clone(&self) -> TrngStatus
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<TrngStatus> for u8
impl From<TrngStatus> for u8
Source§fn from(val: TrngStatus) -> u8
fn from(val: TrngStatus) -> u8
Converts to this type from the input type.
Source§impl From<u8> for TrngStatus
impl From<u8> for TrngStatus
Source§fn from(val: u8) -> TrngStatus
fn from(val: u8) -> TrngStatus
Converts to this type from the input type.
Source§impl Ord for TrngStatus
impl Ord for TrngStatus
Source§fn cmp(&self, other: &TrngStatus) -> Ordering
fn cmp(&self, other: &TrngStatus) -> 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 TrngStatus
impl PartialEq for TrngStatus
Source§impl PartialOrd for TrngStatus
impl PartialOrd for TrngStatus
impl Copy for TrngStatus
impl Eq for TrngStatus
impl StructuralPartialEq for TrngStatus
Auto Trait Implementations§
impl Freeze for TrngStatus
impl RefUnwindSafe for TrngStatus
impl Send for TrngStatus
impl Sync for TrngStatus
impl Unpin for TrngStatus
impl UnwindSafe for TrngStatus
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
)