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

Trait UHasWire

Source
pub trait UHasWire {
    type Wire: UWire;

    // Required method
    fn wire(&self) -> &Self::Wire;
}
Expand description

Exposes the concrete selected wire of an adapter value.

Required Associated Types§

Source

type Wire: UWire

Concrete selected wire type.

Required Methods§

Source

fn wire(&self) -> &Self::Wire

Returns the selected wire marker/value.

Implementors§

Source§

impl<TCore, W, C> UHasWire for UWireTransport<TCore, W, C>
where W: UWire, C: UWireMetadataCodecFor<W>,

Source§

type Wire = W