Struct choices::warp::reply::WithStatus [−][src]
pub struct WithStatus<T> { /* fields omitted */ }
Wrap an impl Reply
to change its StatusCode
.
Returned by warp::reply::with_status
.
Trait Implementations
impl<T> Debug for WithStatus<T> where
T: Debug,
[src]
impl<T> Debug for WithStatus<T> where
T: Debug,
[src]impl<T> Reply for WithStatus<T> where
T: Reply,
[src]
impl<T> Reply for WithStatus<T> where
T: Reply,
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for WithStatus<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for WithStatus<T> where
T: Send,
T: Send,
impl<T> Sync for WithStatus<T> where
T: Sync,
T: Sync,
impl<T> Unpin for WithStatus<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for WithStatus<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]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]
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]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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]
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]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]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]
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]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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]
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]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,