Trait ExtractorExt

Source
pub trait ExtractorExt: Sized + Extractor {
    // Provided methods
    fn map<Fn>(self, map: Fn) -> Map<Self, Fn> { ... }
    fn async_map<Fn>(self, map: Fn) -> AsyncMap<Self, Fn> { ... }
    fn map_err<Fn>(self, map_err: Fn) -> MapError<Self, Fn> { ... }
    fn convert<Fn>(self, convert: Fn) -> Convert<Self, Fn> { ... }
    fn async_convert<Fn>(self, convert: Fn) -> AsyncConvert<Self, Fn> { ... }
    fn chain<C>(self, chain: C) -> ChainExtractor<Self, C> { ... }
    fn chain_lite<Fn>(self, chain: Fn) -> ChainLite<Self, Fn> { ... }
    fn async_chain_lite<Fn>(self, chain: Fn) -> AsyncChainLite<Self, Fn> { ... }
    fn optional(self) -> Optional<Self> { ... }
    fn any<Ex>(self, other: Ex) -> Any<Self, Ex> { ... }
    fn or<Ex>(self, other: Ex) -> OrExtractor<Self, Ex> { ... }
    fn and<Ex>(self, other: Ex) -> AndExtractor<Self, Ex> { ... }
}

Provided Methods§

Source

fn map<Fn>(self, map: Fn) -> Map<Self, Fn>

Source

fn async_map<Fn>(self, map: Fn) -> AsyncMap<Self, Fn>

Source

fn map_err<Fn>(self, map_err: Fn) -> MapError<Self, Fn>

Source

fn convert<Fn>(self, convert: Fn) -> Convert<Self, Fn>

Source

fn async_convert<Fn>(self, convert: Fn) -> AsyncConvert<Self, Fn>

Source

fn chain<C>(self, chain: C) -> ChainExtractor<Self, C>

Source

fn chain_lite<Fn>(self, chain: Fn) -> ChainLite<Self, Fn>

Source

fn async_chain_lite<Fn>(self, chain: Fn) -> AsyncChainLite<Self, Fn>

Source

fn optional(self) -> Optional<Self>

Source

fn any<Ex>(self, other: Ex) -> Any<Self, Ex>

Source

fn or<Ex>(self, other: Ex) -> OrExtractor<Self, Ex>

Source

fn and<Ex>(self, other: Ex) -> AndExtractor<Self, Ex>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> ExtractorExt for T
where T: Sized + Extractor,