Trait infrared::receiver::DecoderFactory
source · pub trait DecoderFactory<Mono: InfraMonotonic>: Protocol {
type Decoder: ProtocolDecoder<Mono, Self::Cmd>;
fn decoder(freq: u32) -> Self::Decoder;
}
Expand description
Used to create a Decoder for a protocol
Handles the creation of the pulse spans for the protocol
Required Associated Types§
sourcetype Decoder: ProtocolDecoder<Mono, Self::Cmd>
type Decoder: ProtocolDecoder<Mono, Self::Cmd>
Type of the decoder