#[non_exhaustive]pub enum MappingTable {
Codes,
Kinds,
}Expand description
Which table of an HttpErrorMapping a key belongs to.
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.
Codes
Exact business error code to status (codes table).
Kinds
Business error kind to status (kinds table).
Implementations§
Trait Implementations§
Source§impl Clone for MappingTable
impl Clone for MappingTable
impl Copy for MappingTable
Source§impl Debug for MappingTable
impl Debug for MappingTable
impl Eq for MappingTable
Source§impl Hash for MappingTable
impl Hash for MappingTable
Source§impl PartialEq for MappingTable
impl PartialEq for MappingTable
impl StructuralPartialEq for MappingTable
Auto Trait Implementations§
impl Forget for MappingTable
impl Freeze for MappingTable
impl Move for MappingTable
impl RefUnwindSafe for MappingTable
impl Send for MappingTable
impl Sync for MappingTable
impl Unpin for MappingTable
impl UnsafeUnpin for MappingTable
impl UnwindSafe for MappingTable
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