pub struct AlwaysFailGenerator;Expand description
Test-only generator that always errors. Proves the graceful fallback path in HyDE / multi-query callers.
Trait Implementations§
Source§impl Clone for AlwaysFailGenerator
impl Clone for AlwaysFailGenerator
Source§fn clone(&self) -> AlwaysFailGenerator
fn clone(&self) -> AlwaysFailGenerator
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 AlwaysFailGenerator
impl Debug for AlwaysFailGenerator
Source§impl Default for AlwaysFailGenerator
impl Default for AlwaysFailGenerator
Source§fn default() -> AlwaysFailGenerator
fn default() -> AlwaysFailGenerator
Returns the “default value” for a type. Read more
Source§impl TextGenerator for AlwaysFailGenerator
impl TextGenerator for AlwaysFailGenerator
Auto Trait Implementations§
impl Freeze for AlwaysFailGenerator
impl RefUnwindSafe for AlwaysFailGenerator
impl Send for AlwaysFailGenerator
impl Sync for AlwaysFailGenerator
impl Unpin for AlwaysFailGenerator
impl UnsafeUnpin for AlwaysFailGenerator
impl UnwindSafe for AlwaysFailGenerator
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