Type Alias salvo_proxy::UrlPartGetter

source ·
pub type UrlPartGetter = Box<dyn Fn(&Request, &Depot) -> Option<String> + Send + Sync + 'static>;
Expand description

Url part getter. You can use this to get the proxied url path or query.

Aliased Type§

struct UrlPartGetter(/* private fields */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.