Expected.this

Constructs an Expected object that contains an expected value.

  1. this(T value)
    struct Expected(T, E = Exception)
    this
    ()
    if (
    !is(T == E) &&
    !is(T == void)
    )
  2. this(E err)

Meta