Skip to main content

MessageBounds

Trait MessageBounds 

Source
pub trait MessageBounds:
    Debug
    + Send
    + 'static
    + Sized { }
Expand description

Just a trait alias hack to avoid constantly writing Debug+Send+'static

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<M> MessageBounds for M
where M: Debug + Send + 'static,