Struct dialectic_tokio_mpsc::Sender[][src]

pub struct Sender(pub Sender<Box<dyn Any + Send>>);

A bounded sender for dynamically typed values. See tokio::sync::mpsc::Sender.

Trait Implementations

impl Clone for Sender[src]

impl Debug for Sender[src]

impl<T: Clone + Send + Any> Transmit<T, Mut> for Sender[src]

impl<T: Clone + Send + Any> Transmit<T, Ref> for Sender[src]

impl<T: Send + Any> Transmit<T, Val> for Sender[src]

impl Transmitter for Sender[src]

type Error = SendError<Box<dyn Any + Send>>

The type of possible errors when sending.

Auto Trait Implementations

impl !RefUnwindSafe for Sender

impl Send for Sender

impl Sync for Sender

impl Unpin for Sender

impl !UnwindSafe for Sender

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, T, S> As<'a, Val, T> for S where
    S: Into<T>, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> By<'a, Mut> for T where
    T: 'a + ?Sized

type Type = &'a mut T

The type of Self when called by Convention.

impl<'a, T> By<'a, Ref> for T where
    T: 'a + ?Sized

type Type = &'a T

The type of Self when called by Convention.

impl<'a, T> By<'a, Val> for T

type Type = T

The type of Self when called by Convention.

impl<'a, T> Convert<'a, Mut, Mut> for T where
    T: 'a, 

impl<'a, T> Convert<'a, Mut, Ref> for T where
    T: 'a, 

impl<'a, T> Convert<'a, Mut, Val> for T where
    T: 'a + Clone

impl<'a, T> Convert<'a, Ref, Ref> for T where
    T: 'a, 

impl<'a, T> Convert<'a, Ref, Val> for T where
    T: 'a + Clone

impl<'a, T> Convert<'a, Val, Val> for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.