pub struct Auth(/* private fields */);Implementations§
Trait Implementations§
Source§impl<B: HttpBody + Send + 'static> AsyncAuthorizeRequest<B> for Auth
impl<B: HttpBody + Send + 'static> AsyncAuthorizeRequest<B> for Auth
Source§type RequestBody = B
type RequestBody = B
The type of request body returned by
authorize. Read moreSource§type ResponseBody = Body
type ResponseBody = Body
The body type used for responses to unauthorized requests.
Source§type Future = Pin<Box<dyn Future<Output = Result<Request<<Auth as AsyncAuthorizeRequest<B>>::RequestBody>, Response<<Auth as AsyncAuthorizeRequest<B>>::ResponseBody>>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<Request<<Auth as AsyncAuthorizeRequest<B>>::RequestBody>, Response<<Auth as AsyncAuthorizeRequest<B>>::ResponseBody>>> + Send>>
The Future type returned by
authorizeAuthorize the request. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Auth
impl !UnwindSafe for Auth
impl Freeze for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnsafeUnpin for Auth
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