#[repr(C, u8)]pub enum KVPTryCloneError<TKeyError, TValueError> {
KeyCloneError(TKeyError),
ValueError(TValueError),
}Expand description
Represents possible errors when trying to clone a KVP.
Variants§
Trait Implementations§
Source§impl<TKeyError: Clone, TValueError: Clone> Clone for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError: Clone, TValueError: Clone> Clone for KVPTryCloneError<TKeyError, TValueError>
Source§fn clone(&self) -> KVPTryCloneError<TKeyError, TValueError>
fn clone(&self) -> KVPTryCloneError<TKeyError, TValueError>
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 moreSource§impl<TKeyError: Debug, TValueError: Debug> Debug for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError: Debug, TValueError: Debug> Debug for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError: Eq, TValueError: Eq> Eq for KVPTryCloneError<TKeyError, TValueError>
Source§impl<TKeyError: PartialEq, TValueError: PartialEq> PartialEq for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError: PartialEq, TValueError: PartialEq> PartialEq for KVPTryCloneError<TKeyError, TValueError>
Source§fn eq(&self, other: &KVPTryCloneError<TKeyError, TValueError>) -> bool
fn eq(&self, other: &KVPTryCloneError<TKeyError, TValueError>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<TKeyError, TValueError> StructuralPartialEq for KVPTryCloneError<TKeyError, TValueError>
Auto Trait Implementations§
impl<TKeyError, TValueError> Freeze for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError, TValueError> RefUnwindSafe for KVPTryCloneError<TKeyError, TValueError>where
TKeyError: RefUnwindSafe,
TValueError: RefUnwindSafe,
impl<TKeyError, TValueError> Send for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError, TValueError> Sync for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError, TValueError> Unpin for KVPTryCloneError<TKeyError, TValueError>
impl<TKeyError, TValueError> UnsafeUnpin for KVPTryCloneError<TKeyError, TValueError>where
TKeyError: UnsafeUnpin,
TValueError: UnsafeUnpin,
impl<TKeyError, TValueError> UnwindSafe for KVPTryCloneError<TKeyError, TValueError>where
TKeyError: UnwindSafe,
TValueError: 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