pub struct NodeHashAlgorithmTryFromIntError(/* private fields */);Expand description
An error indicating that an integer could not be converted into a NodeHashAlgorithm.
Trait Implementations§
Source§impl Clone for NodeHashAlgorithmTryFromIntError
impl Clone for NodeHashAlgorithmTryFromIntError
Source§fn clone(&self) -> NodeHashAlgorithmTryFromIntError
fn clone(&self) -> NodeHashAlgorithmTryFromIntError
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 Error for NodeHashAlgorithmTryFromIntError
impl Error for NodeHashAlgorithmTryFromIntError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NodeHashAlgorithmTryFromIntError
impl PartialEq for NodeHashAlgorithmTryFromIntError
Source§fn eq(&self, other: &NodeHashAlgorithmTryFromIntError) -> bool
fn eq(&self, other: &NodeHashAlgorithmTryFromIntError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NodeHashAlgorithmTryFromIntError
impl Eq for NodeHashAlgorithmTryFromIntError
impl StructuralPartialEq for NodeHashAlgorithmTryFromIntError
Auto Trait Implementations§
impl Freeze for NodeHashAlgorithmTryFromIntError
impl RefUnwindSafe for NodeHashAlgorithmTryFromIntError
impl Send for NodeHashAlgorithmTryFromIntError
impl Sync for NodeHashAlgorithmTryFromIntError
impl Unpin for NodeHashAlgorithmTryFromIntError
impl UnsafeUnpin for NodeHashAlgorithmTryFromIntError
impl UnwindSafe for NodeHashAlgorithmTryFromIntError
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ValueSize for T
impl<T> ValueSize for T
Source§fn value_size(&self) -> usize
fn value_size(&self) -> usize
The size of this value in bytes, excluding allocated data. Read more
Source§fn value_size_sum_iter<'item>(iterator: impl Iterator<Item = &'item T>) -> usizewhere
T: 'item,
fn value_size_sum_iter<'item>(iterator: impl Iterator<Item = &'item T>) -> usizewhere
T: 'item,
The total sum of the sizes of all values in the given iterator, in
bytes. This is default-implemented by computing ValueSize::value_size
on every element and summing them. For Sized types, a more potentially
efficient implementation using Iterator::count is provided. If you are
implementing this trait manually, it is unlikely to be more efficient to
provide a manual implementation here. Read more
Source§fn value_size_sum_exact_size_iter<'item>(
iterator: impl ExactSizeIterator<Item = &'item T>,
) -> usizewhere
T: 'item,
fn value_size_sum_exact_size_iter<'item>(
iterator: impl ExactSizeIterator<Item = &'item T>,
) -> usizewhere
T: 'item,
The total sum of the sizes of all values in the given
exact-size-iterator, in bytes. This is default-implemented by using
ValueSize::value_size_sum_iter. For Sized types, a usually more
efficient implementation using ExactSizeIterator::len is provided. If
you are implementing this trait manually, it is unlikely to be more
efficient to provide a manual implementation here. Read more