pub struct SysfsPinError { /* private fields */ }
Expand description
Sysfs pin re-export Error type wrapping sysfs_gpio::Error to implement embedded_hal::digital::Error
Implementations§
Source§impl SysfsPinError
impl SysfsPinError
Sourcepub fn inner(&self) -> &Error
pub fn inner(&self) -> &Error
Fetch inner (concrete) sysfs_gpio::Error
Trait Implementations§
Source§impl Debug for SysfsPinError
impl Debug for SysfsPinError
Source§impl Display for SysfsPinError
impl Display for SysfsPinError
Source§impl Error for SysfsPinError
impl Error for SysfsPinError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl Error for SysfsPinError
impl Error for SysfsPinError
Auto Trait Implementations§
impl Freeze for SysfsPinError
impl !RefUnwindSafe for SysfsPinError
impl Send for SysfsPinError
impl Sync for SysfsPinError
impl Unpin for SysfsPinError
impl !UnwindSafe for SysfsPinError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more