pub struct WithDeviceError {
pub device: PathBuf,
pub source: WithDeviceErrorKind,
}Available on crate feature
mmc only.Expand description
error opening MMC device at {device}
Fields§
§device: PathBuf§source: WithDeviceErrorKindTrait Implementations§
Source§impl Debug for WithDeviceError
impl Debug for WithDeviceError
Source§impl Display for WithDeviceError
impl Display for WithDeviceError
Source§impl Error for WithDeviceError
impl Error for WithDeviceError
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()
Auto Trait Implementations§
impl Freeze for WithDeviceError
impl RefUnwindSafe for WithDeviceError
impl Send for WithDeviceError
impl Sync for WithDeviceError
impl Unpin for WithDeviceError
impl UnsafeUnpin for WithDeviceError
impl UnwindSafe for WithDeviceError
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