Trait radio::Busy[][src]

pub trait Busy {
    type Error;
    fn is_busy(&mut self) -> Result<bool, Self::Error>;
}

Busy trait for checking whether the radio is currently busy and should not be interrupted

Associated Types

type Error[src]

Radio error type

Loading content...

Required methods

fn is_busy(&mut self) -> Result<bool, Self::Error>[src]

Indicates the radio is busy in the current state (for example, currently transmitting or receiving)

Loading content...

Implementors

impl<St, Reg, Ch, Inf, Irq, E> Busy 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 Error = E

Loading content...