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.
pub trait ToMessageAdapter<U, V>where
V: Serialize + for<'a> Deserialize<'a>,{
// Required method
fn adapt(from: U) -> V;
}
To message adapter trait