rust_p2p_core::pipe::tcp_pipe

Trait TcpStreamIndex

Source
pub trait TcpStreamIndex {
    // Required methods
    fn route_key(&self) -> Result<RouteKey>;
    fn index(&self) -> Index;
}

Required Methods§

Source

fn route_key(&self) -> Result<RouteKey>

Source

fn index(&self) -> Index

Implementors§