pub enum InputsError {
Trace(String),
Setting(String),
}Expand description
Inputs that cannot make a catalogue - each refusal names what is wrong.
Variants§
Trace(String)
The trace is not a trace (fewer than two distinct points, a coordinate that is not a number…).
Setting(String)
A width, spacing or count that is not usable.
Trait Implementations§
Source§impl Clone for InputsError
impl Clone for InputsError
Source§impl Debug for InputsError
impl Debug for InputsError
Source§impl Display for InputsError
impl Display for InputsError
Source§impl Error for InputsError
impl Error for InputsError
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 From<InputsError> for RedrawError
impl From<InputsError> for RedrawError
Source§fn from(source: InputsError) -> Self
fn from(source: InputsError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputsError
impl PartialEq for InputsError
impl StructuralPartialEq for InputsError
Auto Trait Implementations§
impl Freeze for InputsError
impl RefUnwindSafe for InputsError
impl Send for InputsError
impl Sync for InputsError
impl Unpin for InputsError
impl UnsafeUnpin for InputsError
impl UnwindSafe for InputsError
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