pub struct LambdaState {
pub functions: DashMap<String, LambdaFunction>,
pub event_source_mappings: DashMap<String, EventSourceMapping>,
pub layers: DashMap<String, Vec<LayerVersion>>,
pub url_configs: DashMap<String, FunctionUrlConfig>,
pub event_invoke_configs: DashMap<String, EventInvokeConfig>,
pub body_store: OnceLock<Arc<BodyStore>>,
}Expand description
Lambda state — per account and region.
Fields§
§functions: DashMap<String, LambdaFunction>§event_source_mappings: DashMap<String, EventSourceMapping>§layers: DashMap<String, Vec<LayerVersion>>§url_configs: DashMap<String, FunctionUrlConfig>function_name → FunctionUrlConfig
event_invoke_configs: DashMap<String, EventInvokeConfig>function_name[:qualifier] → EventInvokeConfig
body_store: OnceLock<Arc<BodyStore>>Implementations§
Source§impl LambdaState
impl LambdaState
pub fn body_store(&self) -> Option<&Arc<BodyStore>>
pub fn set_body_store(&self, store: Arc<BodyStore>)
Trait Implementations§
Source§impl Debug for LambdaState
impl Debug for LambdaState
Source§impl Default for LambdaState
impl Default for LambdaState
Source§fn default() -> LambdaState
fn default() -> LambdaState
Returns the “default value” for a type. Read more
Source§impl Snapshottable for LambdaState
impl Snapshottable for LambdaState
Auto Trait Implementations§
impl !Freeze for LambdaState
impl !RefUnwindSafe for LambdaState
impl Send for LambdaState
impl Sync for LambdaState
impl Unpin for LambdaState
impl UnsafeUnpin for LambdaState
impl UnwindSafe for LambdaState
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