pub struct NoopInternalUrlRouter;Expand description
Noop router: resolve always errors with PortNotConfigured.
Trait Implementations§
Source§impl Clone for NoopInternalUrlRouter
impl Clone for NoopInternalUrlRouter
Source§fn clone(&self) -> NoopInternalUrlRouter
fn clone(&self) -> NoopInternalUrlRouter
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 moreimpl Copy for NoopInternalUrlRouter
Source§impl Debug for NoopInternalUrlRouter
impl Debug for NoopInternalUrlRouter
Source§impl Default for NoopInternalUrlRouter
impl Default for NoopInternalUrlRouter
Source§fn default() -> NoopInternalUrlRouter
fn default() -> NoopInternalUrlRouter
Returns the “default value” for a type. Read more
Source§impl InternalUrlRouter for NoopInternalUrlRouter
impl InternalUrlRouter for NoopInternalUrlRouter
Source§fn resolve<'a>(
&'a self,
_uri: &'a str,
_ctx: &'a ResolveContext,
) -> Pin<Box<dyn Future<Output = Result<ResolvedUrl, SdkError>> + Send + 'a>>
fn resolve<'a>( &'a self, _uri: &'a str, _ctx: &'a ResolveContext, ) -> Pin<Box<dyn Future<Output = Result<ResolvedUrl, SdkError>> + Send + 'a>>
Resolve a
scheme://path URI to text content.Source§fn registered_schemes(&self) -> Vec<String>
fn registered_schemes(&self) -> Vec<String>
Currently registered schemes (for diagnostics). Default: empty.
Auto Trait Implementations§
impl Freeze for NoopInternalUrlRouter
impl RefUnwindSafe for NoopInternalUrlRouter
impl Send for NoopInternalUrlRouter
impl Sync for NoopInternalUrlRouter
impl Unpin for NoopInternalUrlRouter
impl UnsafeUnpin for NoopInternalUrlRouter
impl UnwindSafe for NoopInternalUrlRouter
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