We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a8c69 commit b76e87cCopy full SHA for b76e87c
src/lib.rs
@@ -34,6 +34,11 @@
34
//! advantage for application developers is that by adopting `embedded-hal` they can unlock all
35
//! these drivers for their platform.
36
//!
37
+//! - Trait methods must be fallible so that they can be used in any possible situation.
38
+//! Nevertheless, HAL implementations can additionally provide infallible versions of the same methods
39
+//! if they can never fail in their platform. This way, generic code can use the fallible abstractions
40
+//! provided here but platform-specific code can avoid fallibility-related boilerplate if possible.
41
+//!
42
//! # Out of scope
43
44
//! - Initialization and configuration stuff like "ensure this serial interface and that SPI
0 commit comments