pub enum Error<B: Bmc> {
Bmc(B::Error),
MetricsNotAvailable,
ActionNotAvailable,
SensorsNotAvailable,
Json(Error),
}Expand description
Redfish Errors.
Variants§
Bmc(B::Error)
Errors generated by BMC access.
MetricsNotAvailable
Metrics not available for this entity
ActionNotAvailable
Action not available for this resource
SensorsNotAvailable
Sensors not available for this resource
Json(Error)
JSON parse error.
Trait Implementations§
Source§impl<B: Bmc> Error for Error<B>
impl<B: Bmc> Error for Error<B>
1.30.0 · 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<B> Freeze for Error<B>
impl<B> !RefUnwindSafe for Error<B>
impl<B> Send for Error<B>
impl<B> Sync for Error<B>
impl<B> Unpin for Error<B>
impl<B> UnsafeUnpin for Error<B>
impl<B> !UnwindSafe for Error<B>
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