pub struct ServerWithHttpRedirect { /* private fields */ }Implementations§
Source§impl ServerWithHttpRedirect
impl ServerWithHttpRedirect
pub async fn new<S>( service: S, server_config: ServerWithHttpRedirectConfig, ) -> Result<Self>
pub async fn graceful_shutdown_with_timeout(self, timeout: Duration)
Auto Trait Implementations§
impl Freeze for ServerWithHttpRedirect
impl RefUnwindSafe for ServerWithHttpRedirect
impl Send for ServerWithHttpRedirect
impl Sync for ServerWithHttpRedirect
impl Unpin for ServerWithHttpRedirect
impl UnsafeUnpin for ServerWithHttpRedirect
impl UnwindSafe for ServerWithHttpRedirect
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