#[non_exhaustive]pub enum BmcErrorClass {
HttpResponse {
status: u16,
},
ResponseParse,
Transport,
Other,
}Expand description
Classification of a BMC operation error for resource-level policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HttpResponse
The operation received an HTTP response that was treated as an error.
ResponseParse
The response could not be parsed into the requested model.
Transport
The request failed before a usable response was received.
Other
The error has no more specific classification.
Trait Implementations§
Source§impl Clone for BmcErrorClass
impl Clone for BmcErrorClass
impl Copy for BmcErrorClass
Source§impl Debug for BmcErrorClass
impl Debug for BmcErrorClass
impl Eq for BmcErrorClass
Source§impl PartialEq for BmcErrorClass
impl PartialEq for BmcErrorClass
impl StructuralPartialEq for BmcErrorClass
Auto Trait Implementations§
impl Forget for BmcErrorClass
impl Freeze for BmcErrorClass
impl Move for BmcErrorClass
impl RefUnwindSafe for BmcErrorClass
impl Send for BmcErrorClass
impl Sync for BmcErrorClass
impl Unpin for BmcErrorClass
impl UnsafeUnpin for BmcErrorClass
impl UnwindSafe for BmcErrorClass
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