#[repr(C)]pub struct UPayloadEncodingAbi {
pub registry_id: u32,
pub literal_id_len: u8,
pub content_type_len: u8,
pub component_flags: u8,
pub _reserved: u8,
pub literal_id: [u8; 64],
pub content_type: [u8; 100],
}Expand description
Fixed-capacity open payload encoding. size 172, align 4, no padding.
Mirrors the three identity components of PayloadEncoding:
registry_id (0 when absent — presence tracked via the component flags),
a literal id string, and a content type string.
Fields§
§registry_id: u32Compact registry identifier of the payload encoding.
literal_id_len: u8Length in bytes of the literal encoding id.
content_type_len: u8Length in bytes of the content type.
component_flags: u8bit0: registry_id present; bits 1..=7 MUST be zero.
_reserved: u8MUST be zero.
literal_id: [u8; 64]Literal encoding id bytes (fixed capacity; literal_id_len bytes valid).
content_type: [u8; 100]Content type bytes (fixed capacity; content_type_len bytes valid).
Trait Implementations§
Source§impl Clone for UPayloadEncodingAbi
impl Clone for UPayloadEncodingAbi
Source§fn clone(&self) -> UPayloadEncodingAbi
fn clone(&self) -> UPayloadEncodingAbi
Returns a copy 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 UPayloadEncodingAbi
impl Debug for UPayloadEncodingAbi
Source§impl Default for UPayloadEncodingAbi
impl Default for UPayloadEncodingAbi
Source§impl PartialEq for UPayloadEncodingAbi
impl PartialEq for UPayloadEncodingAbi
impl Copy for UPayloadEncodingAbi
impl Eq for UPayloadEncodingAbi
impl StructuralPartialEq for UPayloadEncodingAbi
Auto Trait Implementations§
impl Freeze for UPayloadEncodingAbi
impl RefUnwindSafe for UPayloadEncodingAbi
impl Send for UPayloadEncodingAbi
impl Sync for UPayloadEncodingAbi
impl Unpin for UPayloadEncodingAbi
impl UnwindSafe for UPayloadEncodingAbi
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<TCore> UWithNativePrefixWire for TCore
impl<TCore> UWithNativePrefixWire for TCore
Source§fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
Wraps this core with an external or custom selected wire using canonical metadata.
Source§fn into_protobuf_transport(
self,
) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
fn into_protobuf_transport( self, ) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
Wraps this core with the Protocol Buffers selected-wire profile.
Source§fn into_stable_container_transport(
self,
) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
fn into_stable_container_transport( self, ) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
Wraps this core with the stable-container selected-wire profile.