#[repr(u8)]pub enum TryCloneHashTableError {
HashTableError(HashTableError),
KeyOrValueError = 1,
}Expand description
Represents possible errors when trying to clone a hash table.
Variants§
HashTableError(HashTableError)
The underlying hash table returned an error.
KeyOrValueError = 1
The key or value returned an error.
Trait Implementations§
Source§impl Clone for TryCloneHashTableError
impl Clone for TryCloneHashTableError
Source§fn clone(&self) -> TryCloneHashTableError
fn clone(&self) -> TryCloneHashTableError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TryCloneHashTableError
Source§impl Debug for TryCloneHashTableError
impl Debug for TryCloneHashTableError
Source§impl Display for TryCloneHashTableError
impl Display for TryCloneHashTableError
impl Eq for TryCloneHashTableError
Source§impl From<HashTableError> for TryCloneHashTableError
impl From<HashTableError> for TryCloneHashTableError
Source§fn from(error: HashTableError) -> Self
fn from(error: HashTableError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for TryCloneHashTableError
impl From<Infallible> for TryCloneHashTableError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl Hash for TryCloneHashTableError
impl Hash for TryCloneHashTableError
Source§impl PartialEq for TryCloneHashTableError
impl PartialEq for TryCloneHashTableError
Source§fn eq(&self, other: &TryCloneHashTableError) -> bool
fn eq(&self, other: &TryCloneHashTableError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReprC for TryCloneHashTableError
impl ReprC for TryCloneHashTableError
impl StructuralPartialEq for TryCloneHashTableError
Auto Trait Implementations§
impl Freeze for TryCloneHashTableError
impl RefUnwindSafe for TryCloneHashTableError
impl Send for TryCloneHashTableError
impl Sync for TryCloneHashTableError
impl Unpin for TryCloneHashTableError
impl UnsafeUnpin for TryCloneHashTableError
impl UnwindSafe for TryCloneHashTableError
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