Trait mithril_common::messages::ToMessageAdapter
source · pub trait ToMessageAdapter<U, V>where
V: Serialize + for<'a> Deserialize<'a>,{
// Required method
fn adapt(from: U) -> V;
}
Expand description
To message adapter trait
Required Methods§
Object Safety§
This trait is not object safe.