pub struct StableTypeDetail<'a> {
pub variant: StablePayloadVariant,
pub type_name: &'a str,
pub size: usize,
pub alignment: usize,
}Expand description
Runtime type detail carried by stable-container metadata.
Fields§
§variant: StablePayloadVariantFixed-size stable-container payload variant.
type_name: &'a strCross-process and cross-language stable type identity.
size: usizePayload value size in bytes.
alignment: usizeRequired payload value alignment in bytes.
Trait Implementations§
Source§impl<'a> Clone for StableTypeDetail<'a>
impl<'a> Clone for StableTypeDetail<'a>
Source§fn clone(&self) -> StableTypeDetail<'a>
fn clone(&self) -> StableTypeDetail<'a>
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<'a> Debug for StableTypeDetail<'a>
impl<'a> Debug for StableTypeDetail<'a>
Source§impl Display for StableTypeDetail<'_>
impl Display for StableTypeDetail<'_>
Source§impl<'a> PartialEq for StableTypeDetail<'a>
impl<'a> PartialEq for StableTypeDetail<'a>
impl<'a> Copy for StableTypeDetail<'a>
impl<'a> Eq for StableTypeDetail<'a>
impl<'a> StructuralPartialEq for StableTypeDetail<'a>
Auto Trait Implementations§
impl<'a> Freeze for StableTypeDetail<'a>
impl<'a> RefUnwindSafe for StableTypeDetail<'a>
impl<'a> Send for StableTypeDetail<'a>
impl<'a> Sync for StableTypeDetail<'a>
impl<'a> Unpin for StableTypeDetail<'a>
impl<'a> UnwindSafe for StableTypeDetail<'a>
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.