Struct rust_cast::channels::connection::ConnectionChannel [−][src]
Methods
impl<'a, W> ConnectionChannel<'a, W> where
W: Read + Write,
[src]
impl<'a, W> ConnectionChannel<'a, W> where
W: Read + Write,
pub fn new<S>(
sender: S,
message_manager: Rc<MessageManager<W>>
) -> ConnectionChannel<'a, W> where
S: Into<Cow<'a, str>>,
[src]
pub fn new<S>(
sender: S,
message_manager: Rc<MessageManager<W>>
) -> ConnectionChannel<'a, W> where
S: Into<Cow<'a, str>>,
pub fn connect<S>(&self, destination: S) -> Result<(), Error> where
S: Into<Cow<'a, str>>,
[src]
pub fn connect<S>(&self, destination: S) -> Result<(), Error> where
S: Into<Cow<'a, str>>,
pub fn disconnect<S>(&self, destination: S) -> Result<(), Error> where
S: Into<Cow<'a, str>>,
[src]
pub fn disconnect<S>(&self, destination: S) -> Result<(), Error> where
S: Into<Cow<'a, str>>,
pub fn can_handle(&self, message: &CastMessage) -> bool
[src]
pub fn can_handle(&self, message: &CastMessage) -> bool
pub fn parse(&self, message: &CastMessage) -> Result<ConnectionResponse, Error>
[src]
pub fn parse(&self, message: &CastMessage) -> Result<ConnectionResponse, Error>
Auto Trait Implementations
impl<'a, W> !Send for ConnectionChannel<'a, W>
impl<'a, W> !Send for ConnectionChannel<'a, W>
impl<'a, W> !Sync for ConnectionChannel<'a, W>
impl<'a, W> !Sync for ConnectionChannel<'a, W>