pub enum Error<B: Bmc> {
Show 27 variants
Bmc(B::Error),
AccountServiceNotSupported,
AccountSlotNotAvailable,
AssemblyNotAvailable,
ChassisNotSupported,
SystemNotSupported,
ProcessorsNotAvailable,
StorageNotAvailable,
MemoryNotAvailable,
MetricsNotAvailable,
UpdateServiceNotSupported,
FirmwareInventoryNotAvailable,
SoftwareInventoryNotAvailable,
ActionNotAvailable,
SensorsNotAvailable,
LogServiceNotAvailable,
LogEntriesNotAvailable,
ManagerNotSupported,
EthernetInterfacesNotAvailable,
NetworkAdaptersNotAvailable,
BootOptionsNotAvailable,
PcieDevicesNotAvailable,
BiosNotAvailable,
NvidiaComputerSystemNotAvailable,
NvidiaCbcChassisNotAvailable,
SecureBootNotAvailable,
Json(Error),
}Expand description
Redfish Errors.
Variants§
Bmc(B::Error)
Errors generated by BMC access.
AccountServiceNotSupported
Account service is not supported by the BMC.
AccountSlotNotAvailable
No available account slot found. This error happens for
slot_defined_user_accounts feature.
AssemblyNotAvailable
Assembly is not available on BMC.
ChassisNotSupported
Chassis not supported by BMC
SystemNotSupported
Computer system not supported by BMC
ProcessorsNotAvailable
Processors not available for this system
StorageNotAvailable
Storage not available for this system
MemoryNotAvailable
Memory not available for this system
MetricsNotAvailable
Metrics not available for this entity
UpdateServiceNotSupported
Update service not supported by BMC
FirmwareInventoryNotAvailable
Firmware inventory not available
SoftwareInventoryNotAvailable
Software inventory not available
ActionNotAvailable
Action not available for this resource
SensorsNotAvailable
Sensors not available for this resource
LogServiceNotAvailable
Log service not available for this resource
LogEntriesNotAvailable
Log entries not available
ManagerNotSupported
Manager not supported by BMC
EthernetInterfacesNotAvailable
Ethernet interfaces not available for this resource
NetworkAdaptersNotAvailable
Network adapters not available for this resource
BootOptionsNotAvailable
Boot options not available for this resource
PcieDevicesNotAvailable
PCIe devices not available for this resource
BiosNotAvailable
BIOS settings not available for the computer system.
NvidiaComputerSystemNotAvailable
NVIDIA OEM extension is not availvle for the computer system.
NvidiaCbcChassisNotAvailable
NVIDIA OEM extension is not availvle for the chassis.
SecureBootNotAvailable
Secure boot is not available for this system
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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.