pub struct NoopResolver;Expand description
Default resolver. Returns no designations regardless of input.
Used when an engine is constructed without an explicit resolver. This
preserves the pre-resolver behavior: mint_capability and
mint_designated_capability work as before, and mint_with_context is
equivalent to passing &[] as caller designations.
Trait Implementations§
Source§impl Clone for NoopResolver
impl Clone for NoopResolver
Source§fn clone(&self) -> NoopResolver
fn clone(&self) -> NoopResolver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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 DesignationResolver for NoopResolver
impl DesignationResolver for NoopResolver
fn resolve( &self, _target: &ObjectId, _operation: &Operation, _ctx: &DesignationContext, ) -> Result<Vec<Designation>, ResolverError>
impl Copy 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 UnsafeUnpin 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