Function tsukuyomi::extractor::value

source ·
pub fn value<T>(
    value: T
) -> impl Extractor<Output = (T,), Error = Never, Extract = Value<T>>where
    T: Clone,
Expand description

Creates an Extractor that just clones and returns the provided value.