pub enum FieldKind {
Status,
Body,
Header(String),
ResponseTime,
ResponseSize,
Answer,
Response,
Banner,
}Expand description
Which part of a probe response a matcher reads.
Variants§
Status
HTTP status code.
Body
HTTP response body.
Header(String)
A named HTTP response header.
ResponseTime
HTTP round-trip time.
ResponseSize
HTTP response body size in bytes.
Answer
Resolver answers (dns without port / payload).
Response
Raw probe bytes (tcp / udp / wire dns). Alias: banner in scripts.
Banner
Trait Implementations§
impl StructuralPartialEq for FieldKind
Auto Trait Implementations§
impl Freeze for FieldKind
impl RefUnwindSafe for FieldKind
impl Send for FieldKind
impl Sync for FieldKind
impl Unpin for FieldKind
impl UnsafeUnpin for FieldKind
impl UnwindSafe for FieldKind
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