pub struct TcpServerHandle(/* private fields */);Implementations§
Source§impl TcpServerHandle
impl TcpServerHandle
pub fn new(sender: Sender<TcpServerMessage>) -> Self
pub fn stop(&self) -> Result<(), TcpServerError>
Auto Trait Implementations§
impl Freeze for TcpServerHandle
impl RefUnwindSafe for TcpServerHandle
impl Send for TcpServerHandle
impl Sync for TcpServerHandle
impl Unpin for TcpServerHandle
impl UnwindSafe for TcpServerHandle
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