[−][src]Struct breadx::display::RequestCookie
A cookie for a request.
Requests usually take time to resolve into replies. Therefore, the Display::send_request method returns
the RequestCookie, which is later used to block (or await) for the request's eventual result.
Implementations
impl<R: Request> RequestCookie<R>[src]
Trait Implementations
impl<R: Clone + Request> Clone for RequestCookie<R> where
R::Reply: Clone, [src]
R::Reply: Clone,
pub fn clone(&self) -> RequestCookie<R>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<R: Copy + Request> Copy for RequestCookie<R> where
R::Reply: Copy, [src]
R::Reply: Copy,
impl<R: Debug + Request> Debug for RequestCookie<R> where
R::Reply: Debug, [src]
R::Reply: Debug,
impl<R: Default + Request> Default for RequestCookie<R> where
R::Reply: Default, [src]
R::Reply: Default,
pub fn default() -> RequestCookie<R>[src]
impl<R: Eq + Request> Eq for RequestCookie<R> where
R::Reply: Eq, [src]
R::Reply: Eq,
impl<R: Hash + Request> Hash for RequestCookie<R> where
R::Reply: Hash, [src]
R::Reply: Hash,
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<R: Ord + Request> Ord for RequestCookie<R> where
R::Reply: Ord, [src]
R::Reply: Ord,
pub fn cmp(&self, other: &RequestCookie<R>) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl<R: PartialEq + Request> PartialEq<RequestCookie<R>> for RequestCookie<R> where
R::Reply: PartialEq, [src]
R::Reply: PartialEq,
pub fn eq(&self, other: &RequestCookie<R>) -> bool[src]
pub fn ne(&self, other: &RequestCookie<R>) -> bool[src]
impl<R: PartialOrd + Request> PartialOrd<RequestCookie<R>> for RequestCookie<R> where
R::Reply: PartialOrd, [src]
R::Reply: PartialOrd,
pub fn partial_cmp(&self, other: &RequestCookie<R>) -> Option<Ordering>[src]
pub fn lt(&self, other: &RequestCookie<R>) -> bool[src]
pub fn le(&self, other: &RequestCookie<R>) -> bool[src]
pub fn gt(&self, other: &RequestCookie<R>) -> bool[src]
pub fn ge(&self, other: &RequestCookie<R>) -> bool[src]
impl<R: Request> StructuralEq for RequestCookie<R>[src]
impl<R: Request> StructuralPartialEq for RequestCookie<R>[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for RequestCookie<R> where
<R as Request>::Reply: RefUnwindSafe, [src]
<R as Request>::Reply: RefUnwindSafe,
impl<R> Send for RequestCookie<R> where
<R as Request>::Reply: Send, [src]
<R as Request>::Reply: Send,
impl<R> Sync for RequestCookie<R> where
<R as Request>::Reply: Sync, [src]
<R as Request>::Reply: Sync,
impl<R> Unpin for RequestCookie<R> where
<R as Request>::Reply: Unpin, [src]
<R as Request>::Reply: Unpin,
impl<R> UnwindSafe for RequestCookie<R> where
<R as Request>::Reply: UnwindSafe, [src]
<R as Request>::Reply: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,