#[non_exhaustive]pub enum StartError {
NoApiKey,
NoTransport,
Spawn(Error),
}Expand description
The reason why Client::start did not start a client.
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.
NoApiKey
No API key is set, so the Flare client is disabled.
NoTransport
The config has no Transport to send requests with.
Spawn(Error)
The operating system did not start the worker thread.
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()
Auto Trait Implementations§
impl !RefUnwindSafe for StartError
impl !UnwindSafe for StartError
impl Forget for StartError
impl Freeze for StartError
impl Move for StartError
impl Send for StartErrorwhere
Repr: Send,
impl Sync for StartErrorwhere
Repr: Sync,
impl Unpin for StartError
impl UnsafeUnpin for StartError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<E> ReportableError for Ewhere
E: Error + 'static,
impl<E> ReportableError for Ewhere
E: Error + 'static,
Source§fn as_dyn_error(&self) -> &(dyn Error + 'static)
fn as_dyn_error(&self) -> &(dyn Error + 'static)
Returns the error as a
dyn Error, so the Flare client can look up the
real type of the error.