Struct choices::warp::filters::path::Exact [−][src]
A Filter
matching an exact path segment.
Constructed from path()
or path!()
.
Trait Implementations
Auto Trait Implementations
impl<P> RefUnwindSafe for Exact<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for Exact<P> where
P: Send,
P: Send,
impl<P> Sync for Exact<P> where
P: Sync,
P: Sync,
impl<P> Unpin for Exact<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for Exact<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> Filter for T where
T: FilterBase,
[src]
T: FilterBase,
pub fn and<F>(self, other: F) -> And<Self, F> where
F: Filter + Clone,
<Self::Extract as Tuple>::HList: Combine<<<F as FilterBase>::Extract as Tuple>::HList>,
<F as FilterBase>::Error: CombineRejection<Self::Error>,
[src]
F: Filter + Clone,
<Self::Extract as Tuple>::HList: Combine<<<F as FilterBase>::Extract as Tuple>::HList>,
<F as FilterBase>::Error: CombineRejection<Self::Error>,
pub fn or<F>(self, other: F) -> Or<Self, F> where
Self: Filter<Error = Rejection>,
F: Filter,
<F as FilterBase>::Error: CombineRejection<Self::Error>,
[src]
Self: Filter<Error = Rejection>,
F: Filter,
<F as FilterBase>::Error: CombineRejection<Self::Error>,
pub fn map<F>(self, fun: F) -> Map<Self, F> where
F: Func<Self::Extract> + Clone,
[src]
F: Func<Self::Extract> + Clone,
pub fn and_then<F>(self, fun: F) -> AndThen<Self, F> where
F: Func<Self::Extract> + Clone,
<F as Func<Self::Extract>>::Output: TryFuture,
<F as Func<Self::Extract>>::Output: Send,
<<F as Func<Self::Extract>>::Output as TryFuture>::Error: CombineRejection<Self::Error>,
[src]
F: Func<Self::Extract> + Clone,
<F as Func<Self::Extract>>::Output: TryFuture,
<F as Func<Self::Extract>>::Output: Send,
<<F as Func<Self::Extract>>::Output as TryFuture>::Error: CombineRejection<Self::Error>,
pub fn or_else<F>(self, fun: F) -> OrElse<Self, F> where
Self: Filter<Error = Rejection>,
F: Func<Rejection>,
<F as Func<Rejection>>::Output: TryFuture,
<F as Func<Rejection>>::Output: Send,
<<F as Func<Rejection>>::Output as TryFuture>::Error: IsReject,
<<F as Func<Rejection>>::Output as TryFuture>::Ok == Self::Extract,
[src]
Self: Filter<Error = Rejection>,
F: Func<Rejection>,
<F as Func<Rejection>>::Output: TryFuture,
<F as Func<Rejection>>::Output: Send,
<<F as Func<Rejection>>::Output as TryFuture>::Error: IsReject,
<<F as Func<Rejection>>::Output as TryFuture>::Ok == Self::Extract,
pub fn recover<F>(self, fun: F) -> Recover<Self, F> where
Self: Filter<Error = Rejection>,
F: Func<Rejection>,
<F as Func<Rejection>>::Output: TryFuture,
<F as Func<Rejection>>::Output: Send,
<<F as Func<Rejection>>::Output as TryFuture>::Error: IsReject,
[src]
Self: Filter<Error = Rejection>,
F: Func<Rejection>,
<F as Func<Rejection>>::Output: TryFuture,
<F as Func<Rejection>>::Output: Send,
<<F as Func<Rejection>>::Output as TryFuture>::Error: IsReject,
pub fn unify<T>(self) -> Unify<Self> where
Self: Filter<Extract = (Either<T, T>,)>,
T: Tuple,
[src]
Self: Filter<Extract = (Either<T, T>,)>,
T: Tuple,
pub fn untuple_one<T>(self) -> UntupleOne<Self> where
Self: Filter<Extract = (T,)>,
T: Tuple,
[src]
Self: Filter<Extract = (T,)>,
T: Tuple,
pub fn with<W>(self, wrapper: W) -> <W as WrapSealed<Self>>::Wrapped where
W: Wrap<Self>,
[src]
W: Wrap<Self>,
pub fn boxed(self) -> BoxedFilter<Self::Extract> where
Self: Send + Sync + 'static,
Self::Extract: Send,
Self::Error: Into<Rejection>,
[src]
Self: Send + Sync + 'static,
Self::Extract: Send,
Self::Error: Into<Rejection>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,