pub enum ColumnError {
EmptyTypeLabel,
EmptyDefault,
ControlCharacter,
}Expand description
Error returned by column metadata constructors.
Variants§
EmptyTypeLabel
The type label was empty.
EmptyDefault
The default label was empty.
ControlCharacter
Text contained a control character.
Trait Implementations§
Source§impl Clone for ColumnError
impl Clone for ColumnError
Source§fn clone(&self) -> ColumnError
fn clone(&self) -> ColumnError
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 Debug for ColumnError
impl Debug for ColumnError
Source§impl Display for ColumnError
impl Display for ColumnError
Source§impl Error for ColumnError
impl Error for ColumnError
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 PartialEq for ColumnError
impl PartialEq for ColumnError
Source§fn eq(&self, other: &ColumnError) -> bool
fn eq(&self, other: &ColumnError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ColumnError
impl Eq for ColumnError
impl StructuralPartialEq for ColumnError
Auto Trait Implementations§
impl Freeze for ColumnError
impl RefUnwindSafe for ColumnError
impl Send for ColumnError
impl Sync for ColumnError
impl Unpin for ColumnError
impl UnsafeUnpin for ColumnError
impl UnwindSafe for ColumnError
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