#[non_exhaustive]pub enum StartError {
Config(String),
Metrics(String),
Io(Error),
}Expand description
The pipeline could not start.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Config(String)
Invalid effective configuration.
Metrics(String)
The metrics exporter could not be installed.
Io(Error)
The I/O runtime or the admin server could not start.
Trait Implementations§
Source§impl Debug for StartError
impl Debug for StartError
Source§impl Display for StartError
impl Display for StartError
Source§impl Error for StartError
impl Error for StartError
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 StartError
impl From<Error> for StartError
Source§fn from(source: Error) -> StartError
fn from(source: Error) -> StartError
Converts to this type from the input type.
Source§impl From<StartError> for PipelineError
impl From<StartError> for PipelineError
Source§fn from(source: StartError) -> PipelineError
fn from(source: StartError) -> PipelineError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StartError
impl !RefUnwindSafe for StartError
impl Send for StartError
impl Sync for StartError
impl Unpin for StartError
impl UnsafeUnpin for StartError
impl !UnwindSafe for StartError
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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