[][src]Trait unmp_protocol_etp::Socket

pub trait Socket {
    pub fn port(&self) -> u8;
pub fn recv_handle(&self, remote: &Addr, data: &[u8]); }

监听器

Required methods

pub fn port(&self) -> u8[src]

pub fn recv_handle(&self, remote: &Addr, data: &[u8])[src]

Loading content...

Implementors

Loading content...