pub struct AddrEventManager { /* private fields */ }Implementations§
Source§impl AddrEventManager
Implementation of AddrEventManager for TCP listener (requires Clone
on Authenticator and Bicrypter)
impl AddrEventManager
Implementation of AddrEventManager for TCP listener (requires Clone on Authenticator and Bicrypter)
pub fn for_tcp_listener<A, B>( handle: Handle, max_outbound_queue: usize, listener: TcpListener, wire: Wire<A, B>, on_inbound_tx: Sender<(Msg, SocketAddr, Sender<Vec<u8>>)>, ) -> AddrEventManager
Source§impl AddrEventManager
Implementation of AddrEventManager for UDP stream
impl AddrEventManager
Implementation of AddrEventManager for UDP stream
pub fn for_udp_socket<A, B>( handle: Handle, max_outbound_queue: usize, socket: UdpSocket, wire: Wire<A, B>, on_inbound_tx: Sender<(Msg, SocketAddr, Sender<(Vec<u8>, SocketAddr)>)>, ) -> AddrEventManager
Source§impl AddrEventManager
impl AddrEventManager
pub fn for_udp_socket_with_cloneable_wire<A, B>( handle: Handle, max_outbound_queue: usize, socket: UdpSocket, wire: Wire<A, B>, on_inbound_tx: Sender<(Msg, SocketAddr, Sender<(Vec<u8>, SocketAddr)>)>, ) -> AddrEventManager
Auto Trait Implementations§
impl Freeze for AddrEventManager
impl !RefUnwindSafe for AddrEventManager
impl Send for AddrEventManager
impl Sync for AddrEventManager
impl Unpin for AddrEventManager
impl UnsafeUnpin for AddrEventManager
impl !UnwindSafe for AddrEventManager
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