Trait wrpc_transport::Index

source ·
pub trait Index<T> {
    // Required method
    fn index(&self, path: &[usize]) -> Result<T>;
}
Expand description

Multiplexes streams

Implementations of this trait define multiplexing for underlying connections using a particular structural path

Required Methods§

source

fn index(&self, path: &[usize]) -> Result<T>

Index the entity using a structural path

Implementors§

source§

impl Index<Incoming> for wrpc_transport::frame::Incoming

source§

impl Index<Outgoing> for Outgoing

source§

impl<T: Index<T>> Index<Incoming<T>> for wrpc_transport::Incoming<T>