Trait SocketInput

Source
pub trait SocketInput:
    Unpin
    + Debug
    + Sized
where Message: TryFrom<Self>, <Message as TryFrom<Self>>::Error: Debug,
{ }
Expand description

Trait expressing the requirements for a socket input type You don’t need to implement it directly, there is a blanked implementation for types that implement Unpin, Debug, <Message as TryFrom<Self>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Unpin + Debug + Sized> SocketInput for T
where Message: TryFrom<T>, <Message as TryFrom<T>>::Error: Debug,