pub struct GlobalNonce(/* private fields */);Implementations§
Source§impl GlobalNonce
 
impl GlobalNonce
pub const fn new(inner: GlobalNonceInner) -> Self
Trait Implementations§
Source§impl AsRef<[u8; 32]> for GlobalNonce
 
impl AsRef<[u8; 32]> for GlobalNonce
Source§fn as_ref(&self) -> &GlobalNonceInner
 
fn as_ref(&self) -> &GlobalNonceInner
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GlobalNonce
 
impl Clone for GlobalNonce
Source§fn clone(&self) -> GlobalNonce
 
fn clone(&self) -> GlobalNonce
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 GlobalNonce
 
impl Debug for GlobalNonce
Source§impl<'de> Deserialize<'de> for GlobalNonce
 
impl<'de> Deserialize<'de> for GlobalNonce
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 Display for GlobalNonce
 
impl Display for GlobalNonce
Source§impl FromHex for GlobalNonce
 
impl FromHex for GlobalNonce
Source§impl FromStr for GlobalNonce
 
impl FromStr for GlobalNonce
Source§impl Hash for GlobalNonce
 
impl Hash for GlobalNonce
Source§impl PartialEq for GlobalNonce
 
impl PartialEq for GlobalNonce
Source§impl Serialize for GlobalNoncewhere
    Self: Display,
 
impl Serialize for GlobalNoncewhere
    Self: Display,
Source§impl ToHex for GlobalNonce
 
impl ToHex for GlobalNonce
Source§fn encode_hex<T: FromIterator<char>>(&self) -> T
 
fn encode_hex<T: FromIterator<char>>(&self) -> T
Encode the hex strict representing 
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<T: FromIterator<char>>(&self) -> T
 
fn encode_hex_upper<T: FromIterator<char>>(&self) -> T
Encode the hex strict representing 
self into the result. Upper case
letters are used (e.g. F9B4CA)impl Copy for GlobalNonce
impl Eq for GlobalNonce
impl StructuralPartialEq for GlobalNonce
Auto Trait Implementations§
impl Freeze for GlobalNonce
impl RefUnwindSafe for GlobalNonce
impl Send for GlobalNonce
impl Sync for GlobalNonce
impl Unpin for GlobalNonce
impl UnwindSafe for GlobalNonce
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