pub struct AlwaysFailReranker;Expand description
Test-only reranker that always errors. Proves the graceful
fallback path in crate::retrieve::Retriever::execute.
Trait Implementations§
Source§impl Clone for AlwaysFailReranker
impl Clone for AlwaysFailReranker
Source§fn clone(&self) -> AlwaysFailReranker
fn clone(&self) -> AlwaysFailReranker
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 AlwaysFailReranker
impl Debug for AlwaysFailReranker
Source§impl Default for AlwaysFailReranker
impl Default for AlwaysFailReranker
Source§fn default() -> AlwaysFailReranker
fn default() -> AlwaysFailReranker
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlwaysFailReranker
impl RefUnwindSafe for AlwaysFailReranker
impl Send for AlwaysFailReranker
impl Sync for AlwaysFailReranker
impl Unpin for AlwaysFailReranker
impl UnsafeUnpin for AlwaysFailReranker
impl UnwindSafe for AlwaysFailReranker
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