pub trait Message:
SealedInternal
+ MessageType
+ MutProxied
+ for<'a> MutProxied<View<'a> = Self::MessageView<'a>, Mut<'a> = Self::MessageMut<'a>>
+ Parse
+ Default
+ Debug
+ Serialize
+ Clear
+ ClearAndParse
+ CopyFrom
+ MergeFrom
+ Send
+ Sync
+ Clone {
type MessageView<'msg>: MessageView<'msg, Message = Self>;
type MessageMut<'msg>: MessageMut<'msg, Message = Self>;
// Provided method
fn new() -> Self { ... }
}Expand description
A trait that all owned message types implement.
Required Associated Types§
type MessageView<'msg>: MessageView<'msg, Message = Self>
type MessageMut<'msg>: MessageMut<'msg, Message = Self>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".