pub struct Label<Storage: AsRef<[u8]>>(/* private fields */);
Expand description
For labeled HashTreeNode
Implementations§
Trait Implementations§
source§impl<'de, Storage> Deserialize<'de> for Label<Storage>
impl<'de, Storage> Deserialize<'de> for Label<Storage>
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<Storage: Ord + AsRef<[u8]>> Ord for Label<Storage>
impl<Storage: Ord + AsRef<[u8]>> Ord for Label<Storage>
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<Storage: PartialOrd + AsRef<[u8]>> PartialOrd for Label<Storage>
impl<Storage: PartialOrd + AsRef<[u8]>> PartialOrd for Label<Storage>
impl<Storage: Eq + AsRef<[u8]>> Eq for Label<Storage>
impl<Storage: AsRef<[u8]>> StructuralPartialEq for Label<Storage>
Auto Trait Implementations§
impl<Storage> Freeze for Label<Storage>where
Storage: Freeze,
impl<Storage> RefUnwindSafe for Label<Storage>where
Storage: RefUnwindSafe,
impl<Storage> Send for Label<Storage>where
Storage: Send,
impl<Storage> Sync for Label<Storage>where
Storage: Sync,
impl<Storage> Unpin for Label<Storage>where
Storage: Unpin,
impl<Storage> UnwindSafe for Label<Storage>where
Storage: UnwindSafe,
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
)source§impl<T> ToHex for T
impl<T> ToHex for T
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)