pub struct Http3Server<S> { /* private fields */ }Implementations§
Source§impl<S> Http3Server<S>where
S: Service<OxiditeRequest, Response = OxiditeResponse, Error = Error> + Clone + Send + Sync + 'static,
S::Future: Send + 'static,
impl<S> Http3Server<S>where
S: Service<OxiditeRequest, Response = OxiditeResponse, Error = Error> + Clone + Send + Sync + 'static,
S::Future: Send + 'static,
pub fn new(service: S) -> Self
pub async fn listen( self, addr: SocketAddr, tls_config: ServerConfig, ) -> Result<()>
Auto Trait Implementations§
impl<S> Freeze for Http3Server<S>where
S: Freeze,
impl<S> RefUnwindSafe for Http3Server<S>where
S: RefUnwindSafe,
impl<S> Send for Http3Server<S>where
S: Send,
impl<S> Sync for Http3Server<S>where
S: Sync,
impl<S> Unpin for Http3Server<S>where
S: Unpin,
impl<S> UnsafeUnpin for Http3Server<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Http3Server<S>where
S: UnwindSafe,
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