Struct puff_rs::program::commands::HttpServerConfig
source · pub struct HttpServerConfig { /* private fields */ }Expand description
Configuration for how to run an Axum Server.
Implementations
sourceimpl HttpServerConfig
impl HttpServerConfig
pub fn server_builder(&self) -> Builder<AddrIncoming>
pub fn add_command_options(cmd: Command) -> Command
pub fn new_from_args(args: &ArgMatches) -> Self
Auto Trait Implementations
impl RefUnwindSafe for HttpServerConfig
impl Send for HttpServerConfig
impl Sync for HttpServerConfig
impl Unpin for HttpServerConfig
impl UnwindSafe for HttpServerConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more