Skip to main content

shutdown_audit_component_after

Function shutdown_audit_component_after 

Source
pub fn shutdown_audit_component_after<T, RecordFn, RecordFut, FlushFn, FlushFut>(
    resources: T,
    shutdown_dependencies: &'static [&'static str],
    record_server_shutdown: RecordFn,
    flush_audit_manager: FlushFn,
) -> RuntimeComponentBundleRegistration<impl RuntimeComponentBundle>
where T: Send + 'static, RecordFn: FnOnce(T) -> RecordFut + Send + Sync + 'static, RecordFut: Future<Output = Result<(), String>> + Send + 'static, FlushFn: FnOnce(()) -> FlushFut + Send + Sync + 'static, FlushFut: Future<Output = Result<(), String>> + Send + 'static,
Expand description

Creates the audit shutdown component bundle with caller-provided dependencies for the server-shutdown audit phase.