Enum krecik::products::expected::Expected[][src]

pub enum Expected {
    Address(StringString),
    HttpCode(Stringu32),
    Content(StringString),
    NoContentLength(String),
    EmptyContent(String),
    ContentLength(Stringusize),
    TLSCertificateFresh(Stringi32i32),
}

All response types for all supported expectations

Variants

Address(StringString)

Check returned expected Address

HttpCode(Stringu32)

Check returned expected HTTP error code

Content(StringString)

Check returned expected page contents

NoContentLength(String)

NoContentLength

EmptyContent(String)

EmptyContent

ContentLength(Stringusize)

Check returned expected page content length

TLSCertificateFresh(Stringi32i32)

Check TLS certificate expiration time

Trait Implementations

impl Clone for Expected[src]

impl Debug for Expected[src]

impl<'de> Deserialize<'de> for Expected[src]

impl Display for Expected[src]

impl Eq for Expected[src]

impl Fail for Expected[src]

impl Hash for Expected[src]

impl PartialEq<Expected> for Expected[src]

impl Serialize for Expected[src]

impl StructuralEq for Expected[src]

impl StructuralPartialEq for Expected[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsFail for T where
    T: Fail
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Err = <U as TryFrom<T>>::Err

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,