Enum lace_codebook::MergeColumnsError
source · pub enum MergeColumnsError {
DuplicateColumnName(String),
}Expand description
Error that can occur when merging the columns of two codebooks
Variants§
Trait Implementations§
source§impl Clone for MergeColumnsError
impl Clone for MergeColumnsError
source§fn clone(&self) -> MergeColumnsError
fn clone(&self) -> MergeColumnsError
Returns a copy 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 Debug for MergeColumnsError
impl Debug for MergeColumnsError
source§impl Display for MergeColumnsError
impl Display for MergeColumnsError
source§impl Error for MergeColumnsError
impl Error for MergeColumnsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<MergeColumnsError> for MergeColumnsError
impl PartialEq<MergeColumnsError> for MergeColumnsError
source§fn eq(&self, other: &MergeColumnsError) -> bool
fn eq(&self, other: &MergeColumnsError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MergeColumnsError
impl Serialize for MergeColumnsError
impl Eq for MergeColumnsError
impl StructuralEq for MergeColumnsError
impl StructuralPartialEq for MergeColumnsError
Auto Trait Implementations§
impl RefUnwindSafe for MergeColumnsError
impl Send for MergeColumnsError
impl Sync for MergeColumnsError
impl Unpin for MergeColumnsError
impl UnwindSafe for MergeColumnsError
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.