pub struct MessageMeta {
pub name: &'static str,
pub layout: LayoutProfile,
pub transfer_caps: &'static [TransferMode],
pub is_stable: bool,
pub semantic_kind: SemanticKind,
pub memory_class: MemoryClass,
}Expand description
Static metadata of a message contract.
Used by the MessageContract trait to store declared layout,
name, and transfer capability information.
Fields§
§name: &'static strMessage name (e.g. “CameraFrame”).
layout: LayoutProfileMemory layout profile.
transfer_caps: &'static [TransferMode]Supported transfer modes.
is_stable: boolWhether this message is 100% VASI-compliant (contains only POD or VRef). If false, the runtime must use the Hybrid Data Plane.
semantic_kind: SemanticKindSemantic type classification.
memory_class: MemoryClassMemory class for allocation.
Trait Implementations§
Source§impl Clone for MessageMeta
impl Clone for MessageMeta
Source§fn clone(&self) -> MessageMeta
fn clone(&self) -> MessageMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageMeta
impl Debug for MessageMeta
impl Copy for MessageMeta
Auto Trait Implementations§
impl Freeze for MessageMeta
impl RefUnwindSafe for MessageMeta
impl Send for MessageMeta
impl Sync for MessageMeta
impl Unpin for MessageMeta
impl UnsafeUnpin for MessageMeta
impl UnwindSafe for MessageMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more