Created
February 18, 2018 14:44
-
-
Save TheZoq2/d1b9678c3ebe16a2ec98fc35cde20aae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Esp8266<Tx, Rx, Timer, Timeout> | |
where Tx: hal::serial::Write<u8>, | |
Rx: hal::serial::Read<u8>, | |
Timer: hal::timer::CountDown, | |
Timeout: Fn() -> Timer::Time | |
{ | |
tx: Tx, | |
rx: Rx, | |
timer: Timer, | |
timeout: Timeout | |
} | |
impl<Tx, Rx, Timer, Timeout> Esp8266<Tx, Rx, Timer, Timeout> | |
where Tx: hal::serial::Write<u8>, | |
Rx: hal::serial::Read<u8>, | |
Timer: hal::timer::CountDown, | |
Timeout: Fn() -> Timer::Time | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment