pub struct TCPConnectionManager { /* private fields */ }Implementations§
Source§impl TCPConnectionManager
impl TCPConnectionManager
pub fn start<A: ToSocketAddrs + Debug>( addr: A, close: Arc<AtomicBool>, ) -> Result<TCPConnectionManager, Error>
pub fn join(self) -> Result<()>
pub fn write_to_all_connected(&mut self, data: &[u8])
pub fn for_each_connected<T: FnMut(&mut TcpStream) -> bool>(&mut self, func: T)
Auto Trait Implementations§
impl Freeze for TCPConnectionManager
impl !RefUnwindSafe for TCPConnectionManager
impl Send for TCPConnectionManager
impl Sync for TCPConnectionManager
impl Unpin for TCPConnectionManager
impl !UnwindSafe for TCPConnectionManager
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