pub trait Message:
SealedInternal
+ EntityType<Tag = MessageTag>
+ MessageType
+ MutProxied
+ for<'a> MutProxied<View<'a> = Self::MessageView<'a>, Mut<'a> = Self::MessageMut<'a>>
+ Parse
+ Default
+ Debug
+ Serialize
+ Clear
+ ClearAndParse
+ TakeFrom
+ CopyFrom
+ MergeFrom
+ Send
+ Sync
+ Clone
+ OwnedMessageInterop
+ KernelMessage {
type MessageView<'msg>: MessageView<'msg, Message = Self>;
type MessageMut<'msg>: MessageMut<'msg, Message = Self>;
}Expand description
A trait that all generated owned message types implement.
Required Associated Types§
Sourcetype MessageView<'msg>: MessageView<'msg, Message = Self>
type MessageView<'msg>: MessageView<'msg, Message = Self>
The same type as <Self as Proxied>::View. This is defined as a second redundant associated
type and should not be necessary, but the having this available is a hacky workaround
that can appease the trait solver in some cases.
Sourcetype MessageMut<'msg>: MessageMut<'msg, Message = Self>
type MessageMut<'msg>: MessageMut<'msg, Message = Self>
The same type as <Self as Proxied>::Mut. This is defined as a second redundant associated
type and should not be necessary, but the having this available is a hacky workaround
that can appease the trait solver in some cases.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".