Preview of the proposed up-rust native-frame-model branch (up-rust b6b99c6d, up-spec f0e9b17) — not released documentation. branch · write-up

Trait UWithNativePrefixWire

Source
pub trait UWithNativePrefixWire: Sized {
    // Required methods
    fn into_native_prefix_wire_transport<W>(
        self,
        wire: W,
    ) -> UNativePrefixWireTransport<Self, W>
       where W: UWire;
    fn into_protobuf_transport(self) -> ProtobufWireTransport<Self>;
    fn into_stable_container_transport(
        self,
    ) -> StableContainerWireTransport<Self>;
}
Expand description

Convenience constructors for canonical native-prefix selected-wire transports.

Required Methods§

Source

fn into_native_prefix_wire_transport<W>( self, wire: W, ) -> UNativePrefixWireTransport<Self, W>
where W: UWire,

Wraps this core with an external or custom selected wire using canonical metadata.

Source

fn into_protobuf_transport(self) -> ProtobufWireTransport<Self>

Wraps this core with the Protocol Buffers selected-wire profile.

Source

fn into_stable_container_transport(self) -> StableContainerWireTransport<Self>

Wraps this core with the stable-container selected-wire profile.

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.

Implementors§

Source§

impl<TCore> UWithNativePrefixWire for TCore