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
Extension-specific record
Fields
PlatformLogsSubscription
Log processor-specific record
Fields
PlatformLogsDropped
Record generated when the log processor is falling behind
Fields
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 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 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 for LambdaLogRecord
impl PartialEq for LambdaLogRecord
impl StructuralPartialEq for LambdaLogRecord
Auto Trait Implementations§
impl Freeze for LambdaLogRecord
impl RefUnwindSafe for LambdaLogRecord
impl Send for LambdaLogRecord
impl Sync for LambdaLogRecord
impl Unpin for LambdaLogRecord
impl UnwindSafe for LambdaLogRecord
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