Trait resol_vbus::ToPacketId
source · pub trait ToPacketId {
fn to_packet_id(&self) -> Result<PacketId>;
}
Expand description
A trait to get a PacketId
for a given value.
Required Methods§
sourcefn to_packet_id(&self) -> Result<PacketId>
fn to_packet_id(&self) -> Result<PacketId>
Get the PacketId
for a given value.