Struct tokio_serial::Error [−]
Expand description
An error type for serial port operations
Fields
kind: ErrorKind
The kind of error this is
description: String
A description of the error suitable for end-users
Implementations
impl Error
impl Error
Trait Implementations
pub fn description(&self) -> &str
pub fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error