#[non_exhaustive]pub enum OpenTelemetryFaasTrigger {
Datasource,
Http,
PubSub,
Timer,
Other,
}
Expand description
Represent the possible values for the OpenTelemetry faas.trigger
attribute.
See https://opentelemetry.io/docs/specs/semconv/attributes-registry/faas/ for more details.
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.
Datasource
A response to some data source operation such as a database or filesystem read/write
Http
To provide an answer to an inbound HTTP request
PubSub
A function is set to be executed when messages are sent to a messaging system
Timer
A function is scheduled to be executed regularly
Other
If none of the others apply
Trait Implementations§
Source§impl Clone for OpenTelemetryFaasTrigger
impl Clone for OpenTelemetryFaasTrigger
Source§fn clone(&self) -> OpenTelemetryFaasTrigger
fn clone(&self) -> OpenTelemetryFaasTrigger
Returns a copy 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 Default for OpenTelemetryFaasTrigger
impl Default for OpenTelemetryFaasTrigger
Source§fn default() -> OpenTelemetryFaasTrigger
fn default() -> OpenTelemetryFaasTrigger
Returns the “default value” for a type. Read more
Source§impl Display for OpenTelemetryFaasTrigger
impl Display for OpenTelemetryFaasTrigger
impl Copy for OpenTelemetryFaasTrigger
Auto Trait Implementations§
impl Freeze for OpenTelemetryFaasTrigger
impl RefUnwindSafe for OpenTelemetryFaasTrigger
impl Send for OpenTelemetryFaasTrigger
impl Sync for OpenTelemetryFaasTrigger
impl Unpin for OpenTelemetryFaasTrigger
impl UnwindSafe for OpenTelemetryFaasTrigger
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