pub struct RequestCacheKey<Endpoint: Ord + Clone> { /* private fields */ }Expand description
Cache key for uniquely identifying a request.
Trait Implementations§
Source§impl<Endpoint: Clone + Ord + Clone> Clone for RequestCacheKey<Endpoint>
impl<Endpoint: Clone + Ord + Clone> Clone for RequestCacheKey<Endpoint>
Source§fn clone(&self) -> RequestCacheKey<Endpoint>
fn clone(&self) -> RequestCacheKey<Endpoint>
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 moreSource§impl<Endpoint: Ord + Clone> From<&CoapRequest<Endpoint>> for RequestCacheKey<Endpoint>
impl<Endpoint: Ord + Clone> From<&CoapRequest<Endpoint>> for RequestCacheKey<Endpoint>
Source§fn from(request: &CoapRequest<Endpoint>) -> Self
fn from(request: &CoapRequest<Endpoint>) -> Self
Converts to this type from the input type.
Source§impl<Endpoint: Ord + Ord + Clone> Ord for RequestCacheKey<Endpoint>
impl<Endpoint: Ord + Ord + Clone> Ord for RequestCacheKey<Endpoint>
Source§fn cmp(&self, other: &RequestCacheKey<Endpoint>) -> Ordering
fn cmp(&self, other: &RequestCacheKey<Endpoint>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<Endpoint: PartialOrd + Ord + Clone> PartialOrd for RequestCacheKey<Endpoint>
impl<Endpoint: PartialOrd + Ord + Clone> PartialOrd for RequestCacheKey<Endpoint>
impl<Endpoint: Eq + Ord + Clone> Eq for RequestCacheKey<Endpoint>
impl<Endpoint: Ord + Clone> StructuralPartialEq for RequestCacheKey<Endpoint>
Auto Trait Implementations§
impl<Endpoint> Freeze for RequestCacheKey<Endpoint>where
Endpoint: Freeze,
impl<Endpoint> RefUnwindSafe for RequestCacheKey<Endpoint>where
Endpoint: RefUnwindSafe,
impl<Endpoint> Send for RequestCacheKey<Endpoint>where
Endpoint: Send,
impl<Endpoint> Sync for RequestCacheKey<Endpoint>where
Endpoint: Sync,
impl<Endpoint> Unpin for RequestCacheKey<Endpoint>where
Endpoint: Unpin,
impl<Endpoint> UnwindSafe for RequestCacheKey<Endpoint>where
Endpoint: 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