Function amqpr_api::channel::open::open_channel [] [src]

pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S> where
    S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
    E: From<Error>, 

Open new channel with given channel id.

Returned future consists of Frame and S but for now, Frame is meanless because it has nothing.