Struct CdevPinError
pub struct CdevPinError { /* private fields */ }Expand description
Error type wrapping gpio_cdev::errors::Error to implement embedded_hal::digital::Error
Implementations§
§impl CdevPinError
impl CdevPinError
pub fn inner(&self) -> &Error
pub fn inner(&self) -> &Error
Fetch inner (concrete) [gpio_cdev::errors::Error]
Trait Implementations§
§impl Debug for CdevPinError
impl Debug for CdevPinError
§impl Display for CdevPinError
impl Display for CdevPinError
§impl Error for CdevPinError
impl Error for CdevPinError
§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()
§impl Error for CdevPinError
impl Error for CdevPinError
§impl From<Error> for CdevPinError
impl From<Error> for CdevPinError
§fn from(err: Error) -> CdevPinError
fn from(err: Error) -> CdevPinError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CdevPinError
impl !UnwindSafe for CdevPinError
impl Freeze for CdevPinError
impl Send for CdevPinError
impl Sync for CdevPinError
impl Unpin for CdevPinError
impl UnsafeUnpin for CdevPinError
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