pub struct Resources { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, R: 'a> Extractor<'a, R> for &'a Resources
impl<'a, R: 'a> Extractor<'a, R> for &'a Resources
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,
impl Context for Resources
Auto Trait Implementations§
impl Freeze for Resources
impl !RefUnwindSafe for Resources
impl Send for Resources
impl Sync for Resources
impl Unpin for Resources
impl !UnwindSafe for Resources
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