jackneillll has quit [Remote host closed the connection]
jackneillll has joined #rust-embedded
emerent_ has joined #rust-embedded
emerent has quit [Killed (zinc.libera.chat (Nickname regained by services))]
emerent_ is now known as emerent
explore has quit [Quit: Connection closed for inactivity]
tokomak has quit [Ping timeout: 240 seconds]
starblue has quit [Ping timeout: 240 seconds]
starblue has joined #rust-embedded
re_irc has quit [Remote host closed the connection]
re_irc has joined #rust-embedded
<adamgreig> (testing bridge other way)
Yay, it's back
<firefrommoonlight> newam: Thanks for the tips!
<huw.> Hey all, getting started with embedded rust (hope this is an okay place for beginner question). I notice when I try to make a reference to "&dyn InputPin" it isn't possible because it has an associated type "Error" which is unknown.
What is the normal way to write abstracted drivers for this? Is there a reason for not making the type object safe?
<ryan-summers> You would instead take in a reference to "&impl InputPin"
<ryan-summers> Or make the function generic over "<T: InputPin>"