pub struct NonUniqueTransformOutputError;Expand description
Indicates that your transform function for AtomTable did not return unique outputs,
so the “lookup ID by value” feature of the data structure could not be maintained in the
transformed result.
Used directly by AtomTable<V, I>::try_transform, and may be wrapped into TransformResError
by AtomTable<V, I>::try_transform_res
Trait Implementations§
Source§impl Clone for NonUniqueTransformOutputError
impl Clone for NonUniqueTransformOutputError
Source§fn clone(&self) -> NonUniqueTransformOutputError
fn clone(&self) -> NonUniqueTransformOutputError
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 NonUniqueTransformOutputError
impl Error for NonUniqueTransformOutputError
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<E> From<NonUniqueTransformOutputError> for TransformResError<E>
impl<E> From<NonUniqueTransformOutputError> for TransformResError<E>
Source§fn from(source: NonUniqueTransformOutputError) -> Self
fn from(source: NonUniqueTransformOutputError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NonUniqueTransformOutputError
impl PartialEq for NonUniqueTransformOutputError
Source§fn eq(&self, other: &NonUniqueTransformOutputError) -> bool
fn eq(&self, other: &NonUniqueTransformOutputError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NonUniqueTransformOutputError
impl Eq for NonUniqueTransformOutputError
impl StructuralPartialEq for NonUniqueTransformOutputError
Auto Trait Implementations§
impl Freeze for NonUniqueTransformOutputError
impl RefUnwindSafe for NonUniqueTransformOutputError
impl Send for NonUniqueTransformOutputError
impl Sync for NonUniqueTransformOutputError
impl Unpin for NonUniqueTransformOutputError
impl UnwindSafe for NonUniqueTransformOutputError
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