pub enum Operation {
Eq(StatusCode),
In(Vec<StatusCode>),
Range(StatusCode, StatusCode),
Class(StatusClass),
}Expand description
Variants§
Eq(StatusCode)
Match a specific status code.
In(Vec<StatusCode>)
Match any of the specified status codes.
Range(StatusCode, StatusCode)
Match status codes within a range (inclusive).
Class(StatusClass)
Match all status codes in a class (e.g., all 2xx).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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