pub enum DispositionSetError {
CountMismatch {
expected: usize,
observed: usize,
},
KindMismatch {
expected: &'static str,
observed: &'static str,
},
}Expand description
How a disposition record refuses to become a complete set witness.
Variants§
CountMismatch
The record surrendered a different number of rows than the kind set declares.
Fields
KindMismatch
One surrendered row names a kind other than the kind declared at that position.
Trait Implementations§
Source§impl Clone for DispositionSetError
impl Clone for DispositionSetError
Source§fn clone(&self) -> DispositionSetError
fn clone(&self) -> DispositionSetError
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 DispositionSetError
Source§impl Debug for DispositionSetError
impl Debug for DispositionSetError
Source§impl Display for DispositionSetError
impl Display for DispositionSetError
impl Eq for DispositionSetError
Source§impl Error for DispositionSetError
impl Error for DispositionSetError
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 Hash for DispositionSetError
impl Hash for DispositionSetError
Source§impl PartialEq for DispositionSetError
impl PartialEq for DispositionSetError
impl StructuralPartialEq for DispositionSetError
Auto Trait Implementations§
impl Freeze for DispositionSetError
impl RefUnwindSafe for DispositionSetError
impl Send for DispositionSetError
impl Sync for DispositionSetError
impl Unpin for DispositionSetError
impl UnsafeUnpin for DispositionSetError
impl UnwindSafe for DispositionSetError
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