pub enum HttpExpect {
Status(u16),
Any,
Blocked,
}Expand description
What an HTTP probe expects.
Variants§
Status(u16)
This exact status.
Any
An answer of any status.
Blocked
Nothing answers (the connection fails).
Trait Implementations§
Source§impl Clone for HttpExpect
impl Clone for HttpExpect
impl Copy for HttpExpect
Source§impl Debug for HttpExpect
impl Debug for HttpExpect
impl Eq for HttpExpect
Source§impl PartialEq for HttpExpect
impl PartialEq for HttpExpect
impl StructuralPartialEq for HttpExpect
Auto Trait Implementations§
impl Freeze for HttpExpect
impl RefUnwindSafe for HttpExpect
impl Send for HttpExpect
impl Sync for HttpExpect
impl Unpin for HttpExpect
impl UnsafeUnpin for HttpExpect
impl UnwindSafe for HttpExpect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.