pub enum APIOtelCodes {
HC00001 = 1,
HC00002 = 2,
HC00003 = 3,
HC00004 = 4,
HC00005 = 5,
HC00006 = 6,
HC00007 = 7,
}Expand description
This enum contains the telemetry codes for the API crate telemetry
See below the list of telemetry prefixes:
- END: Endpoint
- MID: Middleware
- ROUTE: Route
- HC: Health Check
Variants§
HC00001 = 1
Health Check
Used on start the health check dispatcher.
HC00002 = 2
Health Check dispatcher cicle start
Dispached when a new health check dispatcher cicle is started.
HC00003 = 3
Health Check dispatcher cicle end
Dispached when a health check dispatcher cicle is finished.
HC00004 = 4
Single service health check start
Dispached when a single service health check is started.
HC00005 = 5
Single service health check end
Dispached when a single service health check is finished.
HC00006 = 6
Single host health check start
Dispached when a single host health check is started.
HC00007 = 7
Single host health check end
Dispached when a single host health check is finished.
Trait Implementations§
Source§impl Clone for APIOtelCodes
impl Clone for APIOtelCodes
Source§fn clone(&self) -> APIOtelCodes
fn clone(&self) -> APIOtelCodes
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 APIOtelCodes
impl Debug for APIOtelCodes
Source§impl Display for APIOtelCodes
impl Display for APIOtelCodes
Auto Trait Implementations§
impl Freeze for APIOtelCodes
impl RefUnwindSafe for APIOtelCodes
impl Send for APIOtelCodes
impl Sync for APIOtelCodes
impl Unpin for APIOtelCodes
impl UnwindSafe for APIOtelCodes
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