Skip to main content

Module error

Module error 

Source
Expand description

Error and diagnostic context types returned by drivers and parsers.

See Phase and ErrorContext for the operational metadata that recoverable Error variants carry.

All public error types implement core::fmt::Display for human-readable logging, and Error additionally implements core::error::Error (stabilized in no_std since Rust 1.81) so it composes with ?-propagation chains and downstream error-handling utilities. The Debug impls are still derived for {:?} use inside the driver.

Structs§

ErrorContext
Operational context attached to recoverable bus / protocol errors.

Enums§

CardError
Per-bit error status decoded out of an R1 response.
Error
Errors returned by SD/MMC protocol parsers and drivers.
Phase
Where in the driver pipeline a fault was observed.