CounterName

Enum CounterName 

Source
pub enum CounterName {
Show 98 variants ComponentReceivedEventsTotal, ComponentReceivedEventBytesTotal, ComponentReceivedBytesTotal, ComponentSentEventsTotal, ComponentSentEventBytesTotal, ComponentSentBytesTotal, ComponentDiscardedEventsTotal, ComponentErrorsTotal, ComponentTimedOutEventsTotal, ComponentTimedOutRequestsTotal, BufferReceivedEventsTotal, BufferReceivedBytesTotal, BufferSentEventsTotal, BufferSentBytesTotal, BufferDiscardedEventsTotal, BufferDiscardedBytesTotal, BufferErrorsTotal, AggregateEventsRecordedTotal, AggregateFailedUpdates, AggregateFlushesTotal, ApiStartedTotal, CheckpointsTotal, ChecksumErrorsTotal, CollectCompletedTotal, CommandExecutedTotal, ConnectionEstablishedTotal, ConnectionSendErrorsTotal, ConnectionShutdownTotal, ContainerProcessedEventsTotal, ContainersUnwatchedTotal, ContainersWatchedTotal, DecoderBomRemovalsTotal, DecoderMalformedReplacementWarningsTotal, DorisBytesLoadedTotal, DorisRowsFilteredTotal, DorisRowsLoadedTotal, EncoderUnmappableReplacementWarningsTotal, EventsDiscardedTotal, FilesAddedTotal, FilesDeletedTotal, FilesResumedTotal, FilesUnwatchedTotal, GrpcServerMessagesReceivedTotal, GrpcServerMessagesSentTotal, HttpClientErrorsTotal, HttpClientRequestsSentTotal, HttpClientResponsesTotal, HttpServerRequestsReceivedTotal, HttpServerResponsesSentTotal, KafkaConsumedMessagesBytesTotal, KafkaConsumedMessagesTotal, KafkaProducedMessagesBytesTotal, KafkaProducedMessagesTotal, KafkaRequestsBytesTotal, KafkaRequestsTotal, KafkaResponsesBytesTotal, KafkaResponsesTotal, MetadataRefreshFailedTotal, MetadataRefreshSuccessfulTotal, ParseErrorsTotal, QuitTotal, ReloadedTotal, RewrittenTimestampEventsTotal, SqsMessageDeferSucceededTotal, SqsMessageDeleteSucceededTotal, SqsMessageProcessingSucceededTotal, SqsMessageReceiveSucceededTotal, SqsMessageReceivedMessagesTotal, StaleEventsFlushedTotal, StartedTotal, StoppedTotal, TagCardinalityUntrackedEventsTotal, TagValueLimitExceededTotal, ValueLimitReachedTotal, WebsocketBytesSentTotal, WebsocketMessagesSentTotal, WindowsServiceInstallTotal, WindowsServiceRestartTotal, WindowsServiceStartTotal, WindowsServiceStopTotal, WindowsServiceUninstallTotal, K8sEventNamespaceAnnotationFailuresTotal, K8sEventNodeAnnotationFailuresTotal, K8sFormatPickerEdgeCasesTotal, K8sDockerFormatParseFailuresTotal, SqsS3EventRecordIgnoredTotal, ComponentAllocatedBytesTotal, ComponentDeallocatedBytesTotal, MemoryEnrichmentTableFailedInsertions, MemoryEnrichmentTableFailedReads, MemoryEnrichmentTableFlushesTotal, MemoryEnrichmentTableInsertionsTotal, MemoryEnrichmentTableReadsTotal, MemoryEnrichmentTableTtlExpirations, ConnectionReadErrorsTotal, InternalMetricsCardinalityTotal, ConfigReloadRejected, Utf8ConvertErrorsTotal,
}
Expand description

Canonical list of all per-component internal counter metric names emitted by Vector.

Variants§

§

ComponentReceivedEventsTotal

The number of events accepted by this component either from tagged origins like file and uri, or cumulatively from other origins.

§

ComponentReceivedEventBytesTotal

The number of event bytes accepted by this component either from tagged origins like file and uri, or cumulatively from other origins.

§

ComponentReceivedBytesTotal

The number of raw bytes accepted by this component from source origins.

§

ComponentSentEventsTotal

The total number of events emitted by this component.

§

ComponentSentEventBytesTotal

The total number of event bytes emitted by this component.

§

ComponentSentBytesTotal

The number of raw bytes sent by this component to destination sinks.

§

ComponentDiscardedEventsTotal

The number of events dropped by this component.

§

ComponentErrorsTotal

The total number of errors encountered by this component.

§

ComponentTimedOutEventsTotal

The total number of events for which this source responded with a timeout error.

§

ComponentTimedOutRequestsTotal

The total number of requests for which this source responded with a timeout error.

§

BufferReceivedEventsTotal

The number of events received by this buffer.

§

BufferReceivedBytesTotal

The number of bytes received by this buffer.

§

BufferSentEventsTotal

The number of events sent by this buffer.

§

BufferSentBytesTotal

The number of bytes sent by this buffer.

§

BufferDiscardedEventsTotal

The number of events dropped by this buffer.

§

BufferDiscardedBytesTotal

The number of bytes dropped by this buffer.

§

BufferErrorsTotal

The total number of buffer errors encountered.

§

AggregateEventsRecordedTotal

The number of events recorded by the aggregate transform.

§

AggregateFailedUpdates

The number of failed metric updates, incremental adds, encountered by the aggregate transform.

§

AggregateFlushesTotal

The number of flushes done by the aggregate transform.

§

ApiStartedTotal

The number of times the Vector API has been started.

§

CheckpointsTotal

The total number of files checkpointed.

§

ChecksumErrorsTotal

The total number of errors identifying files via checksum.

§

CollectCompletedTotal

The total number of metrics collections completed for this component.

§

CommandExecutedTotal

The total number of times a command has been executed.

§

ConnectionEstablishedTotal

The total number of times a connection has been established.

§

ConnectionSendErrorsTotal

The total number of errors sending data via the connection.

§

ConnectionShutdownTotal

The total number of times the connection has been shut down.

§

ContainerProcessedEventsTotal

The total number of container events processed.

§

ContainersUnwatchedTotal

The total number of times Vector stopped watching for container logs.

§

ContainersWatchedTotal

The total number of times Vector started watching for container logs.

§

DecoderBomRemovalsTotal

The total number of byte order marks (BOM) removed from incoming data.

§

DecoderMalformedReplacementWarningsTotal

The total number of warnings when replacing malformed characters during decoding.

§

DorisBytesLoadedTotal

The total number of bytes loaded into Doris.

§

DorisRowsFilteredTotal

The total number of rows filtered by Doris during stream load.

§

DorisRowsLoadedTotal

The total number of rows successfully loaded into Doris.

§

EncoderUnmappableReplacementWarningsTotal

The total number of warnings when replacing unmappable characters during encoding.

§

EventsDiscardedTotal

The total number of events discarded by this component.

§

FilesAddedTotal

The total number of files Vector has found to watch.

§

FilesDeletedTotal

The total number of files deleted.

§

FilesResumedTotal

The total number of times Vector has resumed watching a file.

§

FilesUnwatchedTotal

The total number of times Vector has stopped watching a file.

§

GrpcServerMessagesReceivedTotal

The total number of gRPC messages received.

§

GrpcServerMessagesSentTotal

The total number of gRPC messages sent.

§

HttpClientErrorsTotal

The total number of HTTP client errors encountered.

§

HttpClientRequestsSentTotal

The total number of sent HTTP requests, tagged with the request method.

§

HttpClientResponsesTotal

The total number of HTTP requests, tagged with the response code.

§

HttpServerRequestsReceivedTotal

The total number of HTTP requests received.

§

HttpServerResponsesSentTotal

The total number of HTTP responses sent.

§

KafkaConsumedMessagesBytesTotal

Total number of message bytes (including framing) received from Kafka brokers.

§

KafkaConsumedMessagesTotal

Total number of messages consumed, not including ignored messages (due to offset, etc), from Kafka brokers.

§

KafkaProducedMessagesBytesTotal

Total number of message bytes (including framing, such as per-Message framing and MessageSet/batch framing) transmitted to Kafka brokers.

§

KafkaProducedMessagesTotal

Total number of messages transmitted (produced) to Kafka brokers.

§

KafkaRequestsBytesTotal

Total number of bytes transmitted to Kafka brokers.

§

KafkaRequestsTotal

Total number of requests sent to Kafka brokers.

§

KafkaResponsesBytesTotal

Total number of bytes received from Kafka brokers.

§

KafkaResponsesTotal

Total number of responses received from Kafka brokers.

§

MetadataRefreshFailedTotal

The total number of failed efforts to refresh AWS EC2 metadata.

§

MetadataRefreshSuccessfulTotal

The total number of AWS EC2 metadata refreshes.

§

ParseErrorsTotal

The total number of errors encountered while parsing.

§

QuitTotal

The total number of times the Vector instance has quit.

§

ReloadedTotal

The total number of times the Vector instance has been reloaded.

§

RewrittenTimestampEventsTotal

The total number of events whose timestamps were rewritten to maintain ordering.

§

SqsMessageDeferSucceededTotal

The total number of successful deferrals of SQS messages.

§

SqsMessageDeleteSucceededTotal

The total number of successful deletions of SQS messages.

§

SqsMessageProcessingSucceededTotal

The total number of SQS messages successfully processed.

§

SqsMessageReceiveSucceededTotal

The total number of times successfully receiving SQS messages.

§

SqsMessageReceivedMessagesTotal

The total number of received SQS messages.

§

StaleEventsFlushedTotal

The number of stale events that Vector has flushed.

§

StartedTotal

The total number of times the Vector instance has been started.

§

StoppedTotal

The total number of times the Vector instance has been stopped.

§

TagCardinalityUntrackedEventsTotal

The total number of events whose tag keys are no longer tracked because max_tracked_keys was reached. These events pass through the transform unchecked.

§

TagValueLimitExceededTotal

The total number of events discarded because the tag has been rejected after hitting the configured value_limit. When internal_metrics.include_extended_tags is enabled in the tag_cardinality_limit transform, this metric includes metric_name and tag_key labels. By default, this metric has no labels to keep cardinality low.

§

ValueLimitReachedTotal

The total number of times new values for a key have been rejected because the value limit has been reached.

§

WebsocketBytesSentTotal

The total number of bytes sent over WebSocket connections.

§

WebsocketMessagesSentTotal

The total number of messages sent over WebSocket connections.

§

WindowsServiceInstallTotal

The total number of times the Windows service has been installed.

§

WindowsServiceRestartTotal

The total number of times the Windows service has been restarted.

§

WindowsServiceStartTotal

The total number of times the Windows service has been started.

§

WindowsServiceStopTotal

The total number of times the Windows service has been stopped.

§

WindowsServiceUninstallTotal

The total number of times the Windows service has been uninstalled.

§

K8sEventNamespaceAnnotationFailuresTotal

The total number of failures to annotate Kubernetes events with namespace metadata.

§

K8sEventNodeAnnotationFailuresTotal

The total number of failures to annotate Kubernetes events with node metadata.

§

K8sFormatPickerEdgeCasesTotal

The total number of edge cases encountered while picking format of the Kubernetes log message.

§

K8sDockerFormatParseFailuresTotal

The total number of failures to parse a message as a JSON object.

§

SqsS3EventRecordIgnoredTotal

The total number of times an S3 record in an SQS message was ignored (for an event that was not ObjectCreated).

§

ComponentAllocatedBytesTotal

The total number of bytes allocated by this component.

§

ComponentDeallocatedBytesTotal

The total number of bytes deallocated by this component.

§

MemoryEnrichmentTableFailedInsertions

The total number of failed insertions into the in-memory enrichment table.

§

MemoryEnrichmentTableFailedReads

The total number of failed reads from the in-memory enrichment table.

§

MemoryEnrichmentTableFlushesTotal

The total number of flushes of the in-memory enrichment table.

§

MemoryEnrichmentTableInsertionsTotal

The total number of successful insertions into the in-memory enrichment table.

§

MemoryEnrichmentTableReadsTotal

The total number of successful reads from the in-memory enrichment table.

§

MemoryEnrichmentTableTtlExpirations

The total number of entries evicted from the in-memory enrichment table due to TTL expiration.

§

ConnectionReadErrorsTotal

The total number of errors reading datagram.

§

InternalMetricsCardinalityTotal

The total number of metrics emitted from the internal metrics registry. This metric is deprecated in favor of internal_metrics_cardinality.

§

ConfigReloadRejected

Number of configuration reload attempts that were rejected.

§

Utf8ConvertErrorsTotal

The total number of errors converting bytes to a UTF-8 string in UDP mode.

Implementations§

Source§

impl CounterName

Source

pub const fn as_str(self) -> &'static str

Trait Implementations§

Source§

impl AsRef<str> for CounterName

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for CounterName

Source§

fn clone(&self) -> CounterName

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Configurable for CounterName

Source§

fn referenceable_name() -> Option<&'static str>

Gets the referenceable name of this value, if any. Read more
Source§

fn metadata() -> Metadata

Gets the metadata for this value.
Source§

fn generate_schema( schema_gen: &RefCell<SchemaGenerator>, ) -> Result<SchemaObject, GenerateError>

Generates the schema for this value. Read more
§

fn is_optional() -> bool
where Self: Sized,

Whether or not this value is optional. Read more
§

fn validate_metadata(_metadata: &Metadata) -> Result<(), GenerateError>
where Self: Sized,

Validates the given metadata against this type. Read more
§

fn as_configurable_ref() -> ConfigurableRef
where Self: Sized + 'static,

Create a new configurable reference table.
Source§

impl Debug for CounterName

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CounterName

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for CounterName

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Hash for CounterName

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IntoEnumIterator for CounterName

Source§

impl PartialEq for CounterName

Source§

fn eq(&self, other: &CounterName) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CounterName

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl ToValue for CounterName

Source§

fn to_value(&self) -> Value

Convert this value into a serde_json::Value. Must not fail.
Source§

impl Copy for CounterName

Source§

impl Eq for CounterName

Source§

impl StructuralPartialEq for CounterName

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsOut<T> for T
where T: Copy,

§

fn as_out(&mut self) -> Out<'_, T>

Returns an out reference to self.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Candidate for T
where T: AsRef<str>,

§

fn display(&self) -> &str

Text to display when listing alternatives.
§

fn replacement(&self) -> &str

Text to insert in line.
§

impl<T> Casing<T> for T
where T: AsRef<str> + ToString,

§

fn to_case(&self, case: Case) -> String

Convert the string into the given case. It will reference self and create a new String with the same pattern and delimeter as case. It will split on boundaries defined at [Boundary::defaults()]. Read more
§

fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>

Creates a StateConverter struct initialized with the boundaries provided. Read more
§

fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>

Creates a StateConverter struct initialized without the boundaries provided. Read more
§

fn from_case(&self, case: Case) -> StateConverter<'_, T>

Start the case conversion by storing the boundaries associated with the given case. Read more
§

fn is_case(&self, case: Case) -> bool

Determines if self is of the given case. This is done simply by applying the conversion and seeing if the result is the same. Read more
§

impl<T> Casing<T> for T
where T: AsRef<str> + ToString,

§

fn to_case(&self, case: Case<'_>) -> String

Convert the string into the given case. It will reference self and create a new String with the same pattern and delimeter as case. It will split on boundaries defined at [Boundary::defaults()]. Read more
§

fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>

Creates a StateConverter struct initialized with the boundaries provided. Read more
§

fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>

Creates a StateConverter struct initialized without the boundaries provided. Read more
§

fn from_case(&self, case: Case<'_>) -> StateConverter<'_, T>

Start the case conversion by storing the boundaries associated with the given case. Read more
§

fn is_case(&self, case: Case<'_>) -> bool

Determines if self is of the given case. This is done simply by applying the conversion and seeing if the result is the same. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> EncodedChars for T
where T: AsRef<str>,

§

fn start_ptr(&self) -> *const u8

Pointer to the start of the pattern Read more
§

fn limit_ptr(&self) -> *const u8

Pointer to the limit of the pattern buffer Read more
§

fn len(&self) -> usize

The length of this buffer
§

fn encoding(&self) -> *mut OnigEncodingTypeST

The encoding of the contents of the buffer
§

fn is_empty(&self) -> bool

Is the buffer empty?
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Hint for T
where T: AsRef<str>,

§

fn display(&self) -> &str

Text to display when hint is active
§

fn completion(&self) -> Option<&str>

Text to insert in line when right arrow is pressed
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<Source, Target> OctetsInto<Target> for Source
where Target: OctetsFrom<Source>,

§

type Error = <Target as OctetsFrom<Source>>::Error

§

fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>

Performs the conversion.
§

fn octets_into(self) -> Target
where Self::Error: Into<Infallible>,

Performs an infallible conversion.
§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at compile-time. If the color is constant, use either [OwoColorize::fg] or a color-specific method, such as [OwoColorize::green], Read more
§

fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the background color at runtime. Only use if you do not know what color to use at compile-time. If the color is constant, use either [OwoColorize::bg] or a color-specific method, such as [OwoColorize::on_yellow], Read more
§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
§

fn if_supports_color<'a, Out, ApplyFn>( &'a self, stream: impl Into<Stream>, apply: ApplyFn, ) -> SupportsColorsDisplay<'a, Self, Out, ApplyFn>
where ApplyFn: Fn(&'a Self) -> Out,

Apply a given transformation function to all formatters if the given stream supports at least basic ANSI colors, allowing you to conditionally apply given styles/colors. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<T> ServiceExt for T

§

fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>
where Self: Sized,

Apply a transformation to the response body. Read more
§

fn decompression(self) -> Decompression<Self>
where Self: Sized,

Decompress response bodies. Read more
§

fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using HTTP status codes. Read more
§

fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using gRPC headers. Read more
§

fn follow_redirects(self) -> FollowRedirect<Self>
where Self: Sized,

Follow redirect resposes using the Standard policy. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T> ToStringFallible for T
where T: Display,

§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSend for T
where T: Send,

§

impl<T> MaybeSendSync for T