Struct ccp_shared::types::LocalNonce
source · pub struct LocalNonce(/* private fields */);
Implementations§
source§impl LocalNonce
impl LocalNonce
pub fn new(inner: LocalNonceInner) -> Self
Trait Implementations§
source§impl AsMut<[u8; 32]> for LocalNonce
impl AsMut<[u8; 32]> for LocalNonce
source§fn as_mut(&mut self) -> &mut LocalNonceInner
fn as_mut(&mut self) -> &mut LocalNonceInner
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<[u8; 32]> for LocalNonce
impl AsRef<[u8; 32]> for LocalNonce
source§fn as_ref(&self) -> &LocalNonceInner
fn as_ref(&self) -> &LocalNonceInner
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for LocalNonce
impl Clone for LocalNonce
source§fn clone(&self) -> LocalNonce
fn clone(&self) -> LocalNonce
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 Debug for LocalNonce
impl Debug for LocalNonce
source§impl<'de> Deserialize<'de> for LocalNonce
impl<'de> Deserialize<'de> for LocalNonce
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 LocalNonce
impl Display for LocalNonce
source§impl FromHex for LocalNonce
impl FromHex for LocalNonce
source§impl FromStr for LocalNonce
impl FromStr for LocalNonce
source§impl Hash for LocalNonce
impl Hash for LocalNonce
source§impl PartialEq for LocalNonce
impl PartialEq for LocalNonce
source§fn eq(&self, other: &LocalNonce) -> bool
fn eq(&self, other: &LocalNonce) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LocalNonce
impl Serialize for LocalNonce
source§impl ToHex for LocalNonce
impl ToHex for LocalNonce
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 LocalNonce
impl Eq for LocalNonce
impl StructuralPartialEq for LocalNonce
Auto Trait Implementations§
impl Freeze for LocalNonce
impl RefUnwindSafe for LocalNonce
impl Send for LocalNonce
impl Sync for LocalNonce
impl Unpin for LocalNonce
impl UnwindSafe for LocalNonce
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