Trait ChannelSend

Source
pub trait ChannelSend<T> {
    type Error;

    // Required method
    fn send(&mut self, value: &T) -> Result<(), Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn send(&mut self, value: &T) -> Result<(), Self::Error>

Implementations on Foreign Types§

Source§

impl<T: Clone> ChannelSend<T> for Sender<T>

Source§

type Error = SendError<T>

Source§

fn send(&mut self, value: &T) -> Result<(), Self::Error>

Implementors§

Source§

impl<T: Serialize, E: Endian, W: Write> ChannelSend<T> for tcp_channel::Sender<T, E, W>