struct AdminAuth;Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdminAuth
impl RefUnwindSafe for AdminAuth
impl Send for AdminAuth
impl Sync for AdminAuth
impl Unpin for AdminAuth
impl UnsafeUnpin for AdminAuth
impl UnwindSafe for AdminAuth
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
§impl<'r, State, T> FromRequest<'r, State, ViaParts> for Twhere
T: FromRequestParts<'r, State>,
<T as FromRequestParts<'r, State>>::Rejection: 'static,
impl<'r, State, T> FromRequest<'r, State, ViaParts> for Twhere
T: FromRequestParts<'r, State>,
<T as FromRequestParts<'r, State>>::Rejection: 'static,
§type Rejection = <T as FromRequestParts<'r, State>>::Rejection
type Rejection = <T as FromRequestParts<'r, State>>::Rejection
If the extractor fails this “rejection” type is returned, which converted into a response and returned.
§async fn from_request<R>(
state: &'r State,
request_parts: RequestParts<'r>,
_request_body: RequestBody<'r, R>,
) -> Result<T, <T as FromRequest<'r, State, ViaParts>>::Rejection>where
R: Read,
async fn from_request<R>(
state: &'r State,
request_parts: RequestParts<'r>,
_request_body: RequestBody<'r, R>,
) -> Result<T, <T as FromRequest<'r, State, ViaParts>>::Rejection>where
R: Read,
Attempt to extract from the request.