pub struct CachedMeRequest<R: Request<Payload = GetMe>>(/* private fields */);Available on crate feature
cache_me only.Trait Implementations§
Source§impl<R: Request<Payload = GetMe>> HasPayload for CachedMeRequest<R>
impl<R: Request<Payload = GetMe>> HasPayload for CachedMeRequest<R>
Source§fn payload_mut(&mut self) -> &mut Self::Payload
fn payload_mut(&mut self) -> &mut Self::Payload
Gain mutable access to the underlying payload.
Source§fn payload_ref(&self) -> &Self::Payload
fn payload_ref(&self) -> &Self::Payload
Gain immutable access to the underlying payload.
Source§impl<R: Request<Payload = GetMe>> IntoFuture for CachedMeRequest<R>
impl<R: Request<Payload = GetMe>> IntoFuture for CachedMeRequest<R>
Auto Trait Implementations§
impl<R> Forget for CachedMeRequest<R>
impl<R> Freeze for CachedMeRequest<R>where
Inner<R>: Freeze,
impl<R> RefUnwindSafe for CachedMeRequest<R>where
Inner<R>: RefUnwindSafe,
impl<R> Send for CachedMeRequest<R>where
Inner<R>: Send,
impl<R> Sync for CachedMeRequest<R>where
Inner<R>: Sync,
impl<R> Unpin for CachedMeRequest<R>where
Inner<R>: Unpin,
impl<R> UnsafeUnpin for CachedMeRequest<R>where
Inner<R>: UnsafeUnpin,
impl<R> UnwindSafe for CachedMeRequest<R>where
Inner<R>: 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
Source§impl<T> Erasable for T
impl<T> Erasable for T
impl<P> GetMeSetters for Pwhere
P: HasPayload<Payload = GetMe>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more