pub struct EngineBuildContext {
pub state: State,
pub config: Config,
pub controllers: ControllerRegistry,
pub layer_stack: LayerStack<State>,
}Expand description
Context passed from ‘ApplicationBuilder’ to engine-specific builders.
Contains all shared state accumulated during the builder phase, after DI resolution and interceptor registration.
Fields§
§state: State§config: Config§controllers: ControllerRegistry§layer_stack: LayerStack<State>Auto Trait Implementations§
impl !Freeze for EngineBuildContext
impl !RefUnwindSafe for EngineBuildContext
impl !UnwindSafe for EngineBuildContext
impl Send for EngineBuildContext
impl Sync for EngineBuildContext
impl Unpin for EngineBuildContext
impl UnsafeUnpin for EngineBuildContext
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