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§
Sourcefn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UNativePrefixWireTransport<Self, W>where
W: UWire,
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.
Sourcefn into_protobuf_transport(self) -> ProtobufWireTransport<Self>
fn into_protobuf_transport(self) -> ProtobufWireTransport<Self>
Wraps this core with the Protocol Buffers selected-wire profile.
Sourcefn into_stable_container_transport(self) -> StableContainerWireTransport<Self>
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.