pub struct AsyncBasicAuth<T>(/* private fields */)
where
T: AuthCheckPredicate + Clone + Send;Implementations§
Trait Implementations§
Source§impl<T> AsyncPredicate<Request<Body>> for AsyncBasicAuth<T>
impl<T> AsyncPredicate<Request<Body>> for AsyncBasicAuth<T>
Source§type Future = Pin<Box<dyn Future<Output = Result<<AsyncBasicAuth<T> as AsyncPredicate<Request<Body>>>::Request, <AsyncBasicAuth<T> as AsyncPredicate<Request<Body>>>::Response>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<AsyncBasicAuth<T> as AsyncPredicate<Request<Body>>>::Request, <AsyncBasicAuth<T> as AsyncPredicate<Request<Body>>>::Response>> + Send>>
The future returned by
checkSource§impl<T> Clone for AsyncBasicAuth<T>
impl<T> Clone for AsyncBasicAuth<T>
Source§fn clone(&self) -> AsyncBasicAuth<T>
fn clone(&self) -> AsyncBasicAuth<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for AsyncBasicAuth<T>where
T: Freeze,
impl<T> RefUnwindSafe for AsyncBasicAuth<T>where
T: RefUnwindSafe,
impl<T> Send for AsyncBasicAuth<T>
impl<T> Sync for AsyncBasicAuth<T>where
T: Sync,
impl<T> Unpin for AsyncBasicAuth<T>where
T: Unpin,
impl<T> UnwindSafe for AsyncBasicAuth<T>where
T: UnwindSafe,
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