Struct rocket_cors::ManualResponder
source ·
[−]pub struct ManualResponder<'r, F, R> { /* private fields */ }
Expand description
A Manual Responder used in the “truly manual” mode of operation.
See the documentation at the crate root for usage information.
Trait Implementations
Returns Ok
if a Response
could be generated successfully. Otherwise,
returns an Err
with a failing Status
. Read more
Auto Trait Implementations
impl<'r, F, R> RefUnwindSafe for ManualResponder<'r, F, R> where
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<'r, F, R> Send for ManualResponder<'r, F, R> where
F: Send,
R: Send,
impl<'r, F, R> Sync for ManualResponder<'r, F, R> where
F: Sync,
R: Sync,
impl<'r, F, R> Unpin for ManualResponder<'r, F, R> where
F: Unpin,
R: Unpin,
impl<'r, F, R> UnwindSafe for ManualResponder<'r, F, R> where
F: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more