pub struct Res<'a, T: ?Sized>(/* private fields */);
Trait Implementations§
Source§impl<'a, T, R> Extractor<'a, R> for Res<'a, T>
impl<'a, T, R> Extractor<'a, R> for Res<'a, T>
type Error = Infallible
type Prepared = ()
fn validate(validate: Validate<'_>)
fn prepare( _prepare: Prepare<'_>, ) -> Pin<Box<dyn Future<Output = Result<Self::Prepared, Self::Error>> + Send + '_>>
fn extract(
extract: Extract<'a, '_, Self::Prepared, R>,
) -> Result<Self, Self::Error>where
Self: Sized,
Auto Trait Implementations§
impl<'a, T> Freeze for Res<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for Res<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for Res<'a, T>
impl<'a, T> Sync for Res<'a, T>
impl<'a, T> Unpin for Res<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for Res<'a, T>where
T: RefUnwindSafe + ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more