Enum mini_server::MatchingServer
source · pub enum MatchingServer<'a> {
HTTP(HTTPServer<'a>),
TCP(TcpServer<'a>),
}
Variants§
HTTP(HTTPServer<'a>)
TCP(TcpServer<'a>)
Auto Trait Implementations§
impl<'a> Freeze for MatchingServer<'a>
impl<'a> !RefUnwindSafe for MatchingServer<'a>
impl<'a> !Send for MatchingServer<'a>
impl<'a> !Sync for MatchingServer<'a>
impl<'a> Unpin for MatchingServer<'a>
impl<'a> !UnwindSafe for MatchingServer<'a>
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