pub struct NullResolver;
Trait Implementations§
Source§impl ResolveResource<NetEndpointHandleKind, NullHandle> for NullResolver
impl ResolveResource<NetEndpointHandleKind, NullHandle> for NullResolver
Source§type Output = ResolvedEndpoint
type Output = ResolvedEndpoint
The output type for resource resolution.
Source§type Error = Infallible
type Error = Infallible
The error type for
resolve
.Source§fn resolve(
&self,
_resource: NullHandle,
_input: ResolveEndpointParams,
) -> Result<Self::Output, Self::Error>
fn resolve( &self, _resource: NullHandle, _input: ResolveEndpointParams, ) -> Result<Self::Output, Self::Error>
Resolves the resource.
Auto Trait Implementations§
impl Freeze for NullResolver
impl RefUnwindSafe for NullResolver
impl Send for NullResolver
impl Sync for NullResolver
impl Unpin for NullResolver
impl UnwindSafe for NullResolver
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