pub struct DefaultRetriever;Expand description
A retriever that always fails, used as a default when external resource fetching is not needed.
Trait Implementations§
Source§impl Debug for DefaultRetriever
impl Debug for DefaultRetriever
Source§impl PartialEq for DefaultRetriever
impl PartialEq for DefaultRetriever
Source§impl Retrieve for DefaultRetriever
impl Retrieve for DefaultRetriever
impl Eq for DefaultRetriever
impl StructuralPartialEq for DefaultRetriever
Auto Trait Implementations§
impl Freeze for DefaultRetriever
impl RefUnwindSafe for DefaultRetriever
impl Send for DefaultRetriever
impl Sync for DefaultRetriever
impl Unpin for DefaultRetriever
impl UnwindSafe for DefaultRetriever
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.