pub struct TcpTransport { /* private fields */ }Implementations§
Source§impl TcpTransport
impl TcpTransport
pub fn plain() -> TcpTransport
pub fn rustls(config: Arc<ServerConfig>) -> TcpTransport
pub fn rustls_pem( chain_pem: &[u8], key_pem: &[u8], ) -> Result<TcpTransport, HostError>
pub fn websocket_path(self, path: impl Into<String>) -> TcpTransport
pub fn merge_router(self, router: Router) -> TcpTransport
Auto Trait Implementations§
impl !RefUnwindSafe for TcpTransport
impl !UnwindSafe for TcpTransport
impl Freeze for TcpTransport
impl Send for TcpTransport
impl Sync for TcpTransport
impl Unpin for TcpTransport
impl UnsafeUnpin for TcpTransport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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