Trait rux::protocol::IOProtocol [] [src]

pub trait IOProtocol where
    Self: Sized + Send + Copy
{ type Protocol: From<usize> + Into<usize> + Copy; fn get_handler(
        &self,
        p: Self::Protocol,
        epfd: EpollFd,
        id: usize
    ) -> Box<Handler<EpollEvent>>; fn encode(&self, action: Action<Self>) -> u64 { ... } fn decode(&self, data: u64) -> Action<Self> { ... } }

Associated Types

Required Methods

Provided Methods

Implementors