pub enum CollectorError {
UnkownChart(String),
UnkownDimension(String),
ValidationErrors(ValidationErrors),
IOError(Error),
}
Expand description
Error codes used by Collector and its methods.
Variants§
UnkownChart(String)
The referred chart is not yet registert in the collector.
UnkownDimension(String)
The referred chart is not yet registert in the collector.
ValidationErrors(ValidationErrors)
One of the field entries violates the formal requirements.
IOError(Error)
Can’t Write to the provided writer.
Trait Implementations§
Source§impl Debug for CollectorError
impl Debug for CollectorError
Source§impl Display for CollectorError
impl Display for CollectorError
Source§impl Error for CollectorError
impl Error for CollectorError
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<Error> for CollectorError
impl From<Error> for CollectorError
Source§impl From<ValidationErrors> for CollectorError
impl From<ValidationErrors> for CollectorError
Source§fn from(source: ValidationErrors) -> Self
fn from(source: ValidationErrors) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollectorError
impl !RefUnwindSafe for CollectorError
impl Send for CollectorError
impl Sync for CollectorError
impl Unpin for CollectorError
impl !UnwindSafe for CollectorError
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