pub struct TcpServer {}Implementations§
Source§impl TcpServer
impl TcpServer
pub fn start( sender: Sender<TcpClientAction>, address: String, port: u16, ) -> (TcpServerHandle, JoinHandle<Result<(), TcpServerError>>)
Auto Trait Implementations§
impl Freeze for TcpServer
impl RefUnwindSafe for TcpServer
impl Send for TcpServer
impl Sync for TcpServer
impl Unpin for TcpServer
impl UnwindSafe for TcpServer
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