Trait mesh::payload::Upcast

source ·
pub trait Upcast<T> { }
Expand description

Marker trait indicating that an encoded value of Self can be decoded as a T.

Implementors§

source§

impl<T, U> Upcast<U> for T
where U: Downcast<T>,