Struct rust_cast::channels::connection::ConnectionChannel [] [src]

pub struct ConnectionChannel<'a, W> where W: Read + Write {
    // some fields omitted
}

Methods

impl<'a, W> ConnectionChannel<'a, W> where W: Read + Write
[src]

fn new<S>(sender: S, message_manager: Rc<MessageManager<W>>) -> ConnectionChannel<'a, W> where S: Into<Cow<'a, str>>

fn connect<S>(&self, destination: S) -> Result<()Error> where S: Into<Cow<'a, str>>

fn disconnect<S>(&self, destination: S) -> Result<()Error> where S: Into<Cow<'a, str>>

fn can_handle(&self, message: &CastMessage) -> bool

fn parse(&self, message: &CastMessage) -> Result<ConnectionResponseError>