pub struct NoOpResolver;
Expand description
Implements a Resolver
that resolves nothing.
This is the default resolver that is used if no other resolver was provided.
Implementations§
Source§impl NoOpResolver
impl NoOpResolver
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new NoOpResolver
resolver instance.
Trait Implementations§
Source§impl Debug for NoOpResolver
impl Debug for NoOpResolver
Source§impl Default for NoOpResolver
impl Default for NoOpResolver
Source§fn default() -> NoOpResolver
fn default() -> NoOpResolver
Returns the “default value” for a type. Read more
Source§impl Resolver for NoOpResolver
impl Resolver for NoOpResolver
Auto Trait Implementations§
impl Freeze for NoOpResolver
impl RefUnwindSafe for NoOpResolver
impl Send for NoOpResolver
impl Sync for NoOpResolver
impl Unpin for NoOpResolver
impl UnwindSafe for NoOpResolver
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