Enum driver_pal::hal::linux::PinError [−][src]
Variants
Io(Error)
Simple IO error
Tuple Fields of Io
0: Error
Unexpected(String)
Read unusual data from sysfs file.
Tuple Fields of Unexpected
0: String
InvalidPath(String)
Invalid Path
Tuple Fields of InvalidPath
0: String
Unsupported(String)
Operation not supported on target os
Tuple Fields of Unsupported
0: String
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
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
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more