pub enum ResolveBatteryError {
ResolveBattery(ResolveError),
}
Expand description
Errors that can occur when resolving a battery device. Currently marked unused to dodge compiler warning despite needing this for the type Error below.
Variants§
ResolveBattery(ResolveError)
Trait Implementations§
Source§impl Debug for ResolveBatteryError
impl Debug for ResolveBatteryError
Source§impl Display for ResolveBatteryError
impl Display for ResolveBatteryError
Source§impl Error for ResolveBatteryError
impl Error for ResolveBatteryError
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 ResolveBatteryError
impl !RefUnwindSafe for ResolveBatteryError
impl Send for ResolveBatteryError
impl Sync for ResolveBatteryError
impl Unpin for ResolveBatteryError
impl !UnwindSafe for ResolveBatteryError
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