wrpc

Trait Index

Source
pub trait Index<T> {
    // Required method
    fn index(&self, path: &[usize]) -> Result<T, Error>;
}
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, Error>

Index the entity using a structural path

Implementations on Foreign Types§

Source§

impl Index<IndexedParamWriter> for IndexedParamWriter

Source§

impl Index<IndexedParamWriter> for RootParamWriter

Source§

impl Index<ParamWriter> for ParamWriter

Source§

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

Source§

impl Index<Reader> for Reader

Source§

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

Source§

impl Index<SubjectWriter> for SubjectWriter

Source§

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

Implementors§

Source§

impl Index<Incoming> for wrpc::transport::frame::Incoming

Source§

impl Index<Outgoing> for Outgoing

Source§

impl<T> Index<Incoming<T>> for wrpc::transport::Incoming<T>
where T: Index<T>,