pub struct EntropyDevice {
pub rate_limiter: Option<RateLimiter>,
}
Expand description
Defines an entropy device.
Fieldsยง
ยงrate_limiter: Option<RateLimiter>
Trait Implementationsยง
Sourceยงimpl Clone for EntropyDevice
impl Clone for EntropyDevice
Sourceยงfn clone(&self) -> EntropyDevice
fn clone(&self) -> EntropyDevice
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 EntropyDevice
impl Debug for EntropyDevice
Sourceยงimpl<'de> Deserialize<'de> for EntropyDevice
impl<'de> Deserialize<'de> for EntropyDevice
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Hash for EntropyDevice
impl Hash for EntropyDevice
Sourceยงimpl Ord for EntropyDevice
impl Ord for EntropyDevice
Sourceยงfn cmp(&self, other: &EntropyDevice) -> Ordering
fn cmp(&self, other: &EntropyDevice) -> 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 EntropyDevice
impl PartialEq for EntropyDevice
Sourceยงimpl PartialOrd for EntropyDevice
impl PartialOrd for EntropyDevice
Sourceยงimpl Serialize for EntropyDevice
impl Serialize for EntropyDevice
impl Eq for EntropyDevice
impl StructuralPartialEq for EntropyDevice
Auto Trait Implementationsยง
impl Freeze for EntropyDevice
impl RefUnwindSafe for EntropyDevice
impl Send for EntropyDevice
impl Sync for EntropyDevice
impl Unpin for EntropyDevice
impl UnwindSafe for EntropyDevice
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