pub trait BrowserPoolAxumExt {
// Required methods
fn into_axum_state(self) -> SharedBrowserPool;
fn into_axum_extension(self) -> Extension<SharedBrowserPool>;
}Expand description
Extension trait for BrowserPool with Axum helpers.
Provides convenient methods for integrating with Axum.
Required Methods§
Sourcefn into_axum_state(self) -> SharedBrowserPool
fn into_axum_state(self) -> SharedBrowserPool
Sourcefn into_axum_extension(self) -> Extension<SharedBrowserPool>
fn into_axum_extension(self) -> Extension<SharedBrowserPool>
Convert the pool into an Extension layer.