Struct resol_vbus::Specification
[−]
[src]
pub struct Specification { /* fields omitted */ }
The Specification
type contains information about known devices and packets.
Methods
impl Specification
[src]
fn from_file(file: SpecificationFile, language: Language) -> Specification
Construct a Specification
from a SpecificationFile
and a Language
.
fn get_device_spec(
&self,
channel: u8,
self_address: u16,
peer_address: u16
) -> Arc<DeviceSpec>
&self,
channel: u8,
self_address: u16,
peer_address: u16
) -> Arc<DeviceSpec>
Get a DeviceSpec
.
fn get_packet_spec(
&self,
channel: u8,
destination_address: u16,
source_address: u16,
command: u16
) -> Arc<PacketSpec>
&self,
channel: u8,
destination_address: u16,
source_address: u16,
command: u16
) -> Arc<PacketSpec>
Get a PacketSpec
.