Struct rust_cast::channels::media::MediaChannel [] [src]

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

Methods

impl<'a, W> MediaChannel<'a, W> where W: Write
[src]

fn new<S>(sender: S, writer: Rc<RefCell<W>>) -> MediaChannel<'a, W> where S: Into<Cow<'a, str>>

fn load<S>(&self, destination: S, session_id: S, content_id: S, content_type: S, stream_type: StreamType) -> Result<()Error> where S: Into<Cow<'a, str>>

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

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