Trait reconnecting_websocket::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>>

Object Safety§

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,