Struct static_web_server::server::Server
source · pub struct Server { /* private fields */ }
Expand description
Define a multi-thread HTTP or HTTP/2 web server.
Implementations§
source§impl Server
impl Server
sourcepub fn run_standalone(self) -> Result
pub fn run_standalone(self) -> Result
Run the multi-thread Server
as standalone.
It is a top-level function of run_server_on_rt.
Auto Trait Implementations§
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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