pub enum HydrationMode {
DirectClient,
}Expand description
Describes how hydration (download/smudge) should be performed during a test.
Each variant exercises a different reconstruction path:
DirectClient: UsesLocalClientdirectly (no HTTP server).ServerV2: UsesLocalTestServerwith default V2 reconstruction.ServerV1Fallback: UsesLocalTestServerwith V2 disabled, forcing V1 fallback.ServerMaxRanges2: UsesLocalTestServerwithmax_ranges_per_fetch=2, forcing multi-range fetch splitting in V2 responses.
Variants§
DirectClient
Implementations§
Source§impl HydrationMode
impl HydrationMode
pub fn all() -> &'static [HydrationMode]
pub fn uses_server(&self) -> bool
Trait Implementations§
Source§impl Clone for HydrationMode
impl Clone for HydrationMode
Source§fn clone(&self) -> HydrationMode
fn clone(&self) -> HydrationMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HydrationMode
impl Debug for HydrationMode
Source§impl Display for HydrationMode
impl Display for HydrationMode
impl Copy for HydrationMode
Auto Trait Implementations§
impl Freeze for HydrationMode
impl RefUnwindSafe for HydrationMode
impl Send for HydrationMode
impl Sync for HydrationMode
impl Unpin for HydrationMode
impl UnsafeUnpin for HydrationMode
impl UnwindSafe for HydrationMode
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<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.