pub struct LambdaHttpExtractor;Expand description
Extractor for lambda_http::request::LambdaRequest.
Handles all HTTP event types supported by lambda_http:
- API Gateway REST API (v1)
- API Gateway HTTP API (v2)
- Application Load Balancer (ALB)
- API Gateway WebSocket
Uses the globally configured OpenTelemetry propagator for trace context extraction,
supporting W3C TraceContext, B3, Jaeger, X-Ray, or any composite propagator.
Falls back to the _X_AMZN_TRACE_ID environment variable if no trace headers are found.
Implementations§
Trait Implementations§
Source§impl Clone for LambdaHttpExtractor
impl Clone for LambdaHttpExtractor
Source§fn clone(&self) -> LambdaHttpExtractor
fn clone(&self) -> LambdaHttpExtractor
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 LambdaHttpExtractor
impl Debug for LambdaHttpExtractor
Source§impl Default for LambdaHttpExtractor
impl Default for LambdaHttpExtractor
Source§fn default() -> LambdaHttpExtractor
fn default() -> LambdaHttpExtractor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LambdaHttpExtractor
impl RefUnwindSafe for LambdaHttpExtractor
impl Send for LambdaHttpExtractor
impl Sync for LambdaHttpExtractor
impl Unpin for LambdaHttpExtractor
impl UnwindSafe for LambdaHttpExtractor
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