Trait radio::Channel[][src]

pub trait Channel {
    type Channel;
    type Error;
    fn set_channel(
        &mut self,
        channel: &Self::Channel
    ) -> Result<(), Self::Error>; }

Channel trait for configuring radio channelization

Associated Types

type Channel[src]

Channel information

type Error[src]

Radio error type

Loading content...

Required methods

fn set_channel(&mut self, channel: &Self::Channel) -> Result<(), Self::Error>[src]

Set the radio channel for future transmit and receive operations

Loading content...

Implementors

impl<St, Reg, Ch, Inf, Irq, E> Channel for Radio<St, Reg, Ch, Inf, Irq, E> where
    St: PartialEq + Debug + Clone,
    Reg: PartialEq + Debug + Clone,
    Ch: PartialEq + Debug + Clone,
    Inf: PartialEq + Debug + Clone,
    Irq: PartialEq + Debug + Clone,
    E: PartialEq + Debug + Clone
[src]

type Channel = Ch

type Error = E

Loading content...