pub trait CanSendError: Debug {
// Required methods
fn into_can_message(self) -> CanMessage;
fn message(&self) -> String;
}Expand description
A trait for CAN errors which may come from different types of interfaces
On no_std, all the error can do is return the unsent frame. With std, it can convert any
underlying errors into a String.
Required Methods§
Sourcefn into_can_message(self) -> CanMessage
fn into_can_message(self) -> CanMessage
Convert the error into the undelivered message