pub enum LambdaLogRecord {
Function(String),
Extension(String),
PlatformStart {
request_id: String,
},
PlatformEnd {
request_id: String,
},
PlatformReport {
request_id: String,
metrics: LogPlatformReportMetrics,
},
PlatformFault(String),
PlatformExtension {
name: String,
state: String,
events: Vec<String>,
},
PlatformLogsSubscription {
name: String,
state: String,
types: Vec<String>,
},
PlatformLogsDropped {
reason: String,
dropped_records: u64,
dropped_bytes: u64,
},
PlatformRuntimeDone {
request_id: String,
status: String,
},
}
Expand description
Record in a LambdaLog entry
Variants§
Function(String)
Function log records
Extension(String)
Extension log records
PlatformStart
Platform start record
PlatformEnd
Platform stop record
PlatformReport
Platform report record
PlatformFault(String)
Runtime or execution environment error record
PlatformExtension
Fields
Extension-specific record
PlatformLogsSubscription
Fields
Log processor-specific record
PlatformLogsDropped
Fields
Record generated when the log processor is falling behind
PlatformRuntimeDone
Record marking the completion of an invocation
Trait Implementations§
source§impl Clone for LambdaLogRecord
impl Clone for LambdaLogRecord
source§fn clone(&self) -> LambdaLogRecord
fn clone(&self) -> LambdaLogRecord
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 Debug for LambdaLogRecord
impl Debug for LambdaLogRecord
source§impl<'de> Deserialize<'de> for LambdaLogRecord
impl<'de> Deserialize<'de> for LambdaLogRecord
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 PartialEq<LambdaLogRecord> for LambdaLogRecord
impl PartialEq<LambdaLogRecord> for LambdaLogRecord
source§fn eq(&self, other: &LambdaLogRecord) -> bool
fn eq(&self, other: &LambdaLogRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.