pub struct ChainCode(_);
Expand description
A chain code
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ChainCode
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for ChainCode
Available on crate feature
serde
only.source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<ChainCode, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<ChainCode, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for ChainCode
impl Ord for ChainCode
source§impl PartialEq<ChainCode> for ChainCode
impl PartialEq<ChainCode> for ChainCode
source§impl PartialOrd<ChainCode> for ChainCode
impl PartialOrd<ChainCode> for ChainCode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChainCode
impl Eq for ChainCode
impl StructuralEq for ChainCode
impl StructuralPartialEq for ChainCode
Auto Trait Implementations§
impl RefUnwindSafe for ChainCode
impl Send for ChainCode
impl Sync for ChainCode
impl Unpin for ChainCode
impl UnwindSafe for ChainCode
Blanket Implementations§
source§impl<T> Base32Len for Twhere
T: AsRef<[u8]>,
impl<T> Base32Len for Twhere T: AsRef<[u8]>,
source§fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
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> ToBase32 for Twhere
T: AsRef<[u8]>,
impl<T> ToBase32 for Twhere T: AsRef<[u8]>,
source§fn write_base32<W>(&self, writer: &mut W) -> Result<(), <W as WriteBase32>::Err>where
W: WriteBase32,
fn write_base32<W>(&self, writer: &mut W) -> Result<(), <W as WriteBase32>::Err>where W: WriteBase32,
Encode as base32 and write it to the supplied writer
Implementations shouldn’t allocate.