Struct holo_hash::EntryHashes
source · [−]Expand description
A newtype for a collection of EntryHashes, needed for some wasm return types.
Tuple Fields
0: Vec<EntryHash>
Trait Implementations
sourceimpl Debug for EntryHashes
impl Debug for EntryHashes
sourceimpl<'de> Deserialize<'de> for EntryHashes
impl<'de> Deserialize<'de> for EntryHashes
sourcefn 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
sourceimpl PartialEq<EntryHashes> for EntryHashes
impl PartialEq<EntryHashes> for EntryHashes
sourcefn eq(&self, other: &EntryHashes) -> bool
fn eq(&self, other: &EntryHashes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EntryHashes) -> bool
fn ne(&self, other: &EntryHashes) -> bool
This method tests for !=
.
sourceimpl Serialize for EntryHashes
impl Serialize for EntryHashes
sourceimpl TryFrom<&'_ EntryHashes> for SerializedBytes
impl TryFrom<&'_ EntryHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<EntryHashes> for SerializedBytes
impl TryFrom<EntryHashes> for SerializedBytes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
sourceimpl TryFrom<SerializedBytes> for EntryHashes
impl TryFrom<SerializedBytes> for EntryHashes
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
sourcefn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
Performs the conversion.
impl StructuralPartialEq for EntryHashes
Auto Trait Implementations
impl RefUnwindSafe for EntryHashes
impl Send for EntryHashes
impl Sync for EntryHashes
impl Unpin for EntryHashes
impl UnwindSafe for EntryHashes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more