pub struct EventManager { /* private fields */ }Implementations§
Source§impl EventManager
Implementation of EventManager for TCP stream
impl EventManager
Implementation of EventManager for TCP stream
pub fn for_tcp_stream<A, B>( handle: Handle, max_outbound_queue: usize, stream: TcpStream, remote_addr: SocketAddr, wire: Wire<A, B>, on_inbound_tx: Sender<(Msg, SocketAddr, Sender<Vec<u8>>)>, ) -> EventManager
Auto Trait Implementations§
impl Freeze for EventManager
impl !RefUnwindSafe for EventManager
impl Send for EventManager
impl Sync for EventManager
impl Unpin for EventManager
impl UnsafeUnpin for EventManager
impl !UnwindSafe for EventManager
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