pub struct WSGIServerCommand { /* private fields */ }Expand description
The WSGIServerCommand.
Exposes options to the command line to set the port and host of the server.
Implementations
Trait Implementations
sourceimpl RunnableCommand for WSGIServerCommand
impl RunnableCommand for WSGIServerCommand
sourcefn cli_parser(&self) -> Command
fn cli_parser(&self) -> Command
The clap::Command that specifies the arguments and meta information.
sourcefn make_runnable(
&mut self,
args: &ArgMatches,
context: PuffContext
) -> Result<Runnable>
fn make_runnable(
&mut self,
args: &ArgMatches,
context: PuffContext
) -> Result<Runnable>
Converts parsed matches from the command line into a Runnable future.
Auto Trait Implementations
impl !RefUnwindSafe for WSGIServerCommand
impl !Send for WSGIServerCommand
impl !Sync for WSGIServerCommand
impl Unpin for WSGIServerCommand
impl !UnwindSafe for WSGIServerCommand
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