pub struct Server<H, T: Transport = DefaultTransport> { /* private fields */ }Expand description
The main server instance.
Generic over handler H and transport backend T.
Implementations§
Auto Trait Implementations§
impl<H, T = TokioTcpTransport> !Freeze for Server<H, T>
impl<H, T = TokioTcpTransport> !RefUnwindSafe for Server<H, T>
impl<H, T> Send for Server<H, T>
impl<H, T> Sync for Server<H, T>
impl<H, T> Unpin for Server<H, T>
impl<H, T> UnsafeUnpin for Server<H, T>
impl<H, T = TokioTcpTransport> !UnwindSafe for Server<H, T>
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