[−][src]Function warp::filters::ext::set
pub fn set<T: Send + Sync + 'static>(val: T)
Set an arbitrary value in the current route extensions.
After setting the value, it can be retrieved in another filter by
use get
with the same type.
Panics
This function panics if not called within the context of a Filter
.