pub struct WireIdentity { /* private fields */ }Expand description
Stable wire, payload-family, or metadata-layout identity.
Implementations§
Source§impl WireIdentity
impl WireIdentity
Sourcepub const fn new(literal_id: &'static str, compact_id: u16) -> Self
pub const fn new(literal_id: &'static str, compact_id: u16) -> Self
Creates an identity from its literal and compact representations.
Sourcepub fn literal_id(self) -> &'static str
pub fn literal_id(self) -> &'static str
Returns the language-neutral literal identity.
Sourcepub fn compact_id(self) -> u16
pub fn compact_id(self) -> u16
Returns the compact first-wave identity.
Trait Implementations§
Source§impl Clone for WireIdentity
impl Clone for WireIdentity
Source§fn clone(&self) -> WireIdentity
fn clone(&self) -> WireIdentity
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 WireIdentity
impl Debug for WireIdentity
Source§impl PartialEq for WireIdentity
impl PartialEq for WireIdentity
impl Copy for WireIdentity
impl Eq for WireIdentity
impl StructuralPartialEq for WireIdentity
Auto Trait Implementations§
impl Freeze for WireIdentity
impl RefUnwindSafe for WireIdentity
impl Send for WireIdentity
impl Sync for WireIdentity
impl Unpin for WireIdentity
impl UnwindSafe for WireIdentity
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.