pub enum ProductOSRouterError {
Headers(String),
Query(String),
Body(String),
Authentication(String),
Authorization(String),
Process(String),
Unavailable(String),
}
Variants§
Headers(String)
Query(String)
Body(String)
Authentication(String)
Authorization(String)
Process(String)
Implementations§
source§impl ProductOSRouterError
impl ProductOSRouterError
pub fn error_response( error: ProductOSRouterError, status_code: StatusCode, ) -> Response<Body>
pub fn handle_error(error: ProductOSRouterError) -> Response<Body>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProductOSRouterError
impl RefUnwindSafe for ProductOSRouterError
impl Send for ProductOSRouterError
impl Sync for ProductOSRouterError
impl Unpin for ProductOSRouterError
impl UnwindSafe for ProductOSRouterError
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