#[non_exhaustive]pub enum TelemetrySinkError {
PushFailed,
}Expand description
Error type returned by event writers when writing fails.
Implementations use this to signal input output failures or buffer exhaustion without tying the core telemetry code to any particular error type.
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.
PushFailed
The event could not be pushed to the underlying sink.
Trait Implementations§
Source§impl Clone for TelemetrySinkError
impl Clone for TelemetrySinkError
Source§fn clone(&self) -> TelemetrySinkError
fn clone(&self) -> TelemetrySinkError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelemetrySinkError
impl Debug for TelemetrySinkError
impl Copy for TelemetrySinkError
Auto Trait Implementations§
impl Freeze for TelemetrySinkError
impl RefUnwindSafe for TelemetrySinkError
impl Send for TelemetrySinkError
impl Sync for TelemetrySinkError
impl Unpin for TelemetrySinkError
impl UnsafeUnpin for TelemetrySinkError
impl UnwindSafe for TelemetrySinkError
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