pub trait VmbusMessage: Sized {
const MESSAGE_TYPE: MessageType;
const MESSAGE_SIZE: usize = _;
}
Expand description
Trait implemented on all protocol message structs by the vmbus_message! macro.
Required Associated Constants§
Sourceconst MESSAGE_TYPE: MessageType
const MESSAGE_TYPE: MessageType
The corresponding message type for the struct.
Provided Associated Constants§
Sourceconst MESSAGE_SIZE: usize = _
const MESSAGE_SIZE: usize = _
The size of the message, including the vmbus message header.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.