Enum metrics_exporter_tcp::Error [−][src]
pub enum Error { Io(Error), Recorder(SetRecorderError), }
Expand description
Errors that could occur while installing a TCP recorder/exporter.
Variants
Io(Error)
Expand description
Creating the networking event loop did not succeed.
Recorder(SetRecorderError)
Expand description
Installing the recorder did not succeed.
Trait Implementations
impl From<SetRecorderError> for Error
[src]
impl From<SetRecorderError> for Error
[src]fn from(e: SetRecorderError) -> Self
[src]
fn from(e: SetRecorderError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]