Struct actix_web::dev::AppConfig [−][src]
pub struct AppConfig(_);
Expand description
Application connection config
Implementations
Server host name.
Host name is used by application router as a hostname for url generation. Check ConnectionInfo documentation for more information.
By default host name is set to a “localhost” value.
Returns the socket address of the local half of this TCP connection
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AppConfig
impl UnwindSafe for AppConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more