Struct coap_lite::block_handler::RequestCacheKey
source · [−]Expand description
Cache key for uniquely identifying a request.
Trait Implementations
sourceimpl<Endpoint: Clone + Ord + Clone> Clone for RequestCacheKey<Endpoint>
impl<Endpoint: Clone + Ord + Clone> Clone for RequestCacheKey<Endpoint>
sourcefn clone(&self) -> RequestCacheKey<Endpoint>
fn clone(&self) -> RequestCacheKey<Endpoint>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<Endpoint: Ord + Clone> From<&'_ CoapRequest<Endpoint>> for RequestCacheKey<Endpoint>
impl<Endpoint: Ord + Clone> From<&'_ CoapRequest<Endpoint>> for RequestCacheKey<Endpoint>
sourcefn from(request: &CoapRequest<Endpoint>) -> Self
fn from(request: &CoapRequest<Endpoint>) -> Self
Converts to this type from the input type.
sourceimpl<Endpoint: Ord + Ord + Clone> Ord for RequestCacheKey<Endpoint>
impl<Endpoint: Ord + Ord + Clone> Ord for RequestCacheKey<Endpoint>
sourceimpl<Endpoint: PartialEq + Ord + Clone> PartialEq<RequestCacheKey<Endpoint>> for RequestCacheKey<Endpoint>
impl<Endpoint: PartialEq + Ord + Clone> PartialEq<RequestCacheKey<Endpoint>> for RequestCacheKey<Endpoint>
sourcefn eq(&self, other: &RequestCacheKey<Endpoint>) -> bool
fn eq(&self, other: &RequestCacheKey<Endpoint>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RequestCacheKey<Endpoint>) -> bool
fn ne(&self, other: &RequestCacheKey<Endpoint>) -> bool
This method tests for !=.
sourceimpl<Endpoint: PartialOrd + Ord + Clone> PartialOrd<RequestCacheKey<Endpoint>> for RequestCacheKey<Endpoint>
impl<Endpoint: PartialOrd + Ord + Clone> PartialOrd<RequestCacheKey<Endpoint>> for RequestCacheKey<Endpoint>
sourcefn partial_cmp(&self, other: &RequestCacheKey<Endpoint>) -> Option<Ordering>
fn partial_cmp(&self, other: &RequestCacheKey<Endpoint>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<Endpoint: Eq + Ord + Clone> Eq for RequestCacheKey<Endpoint>
impl<Endpoint: Ord + Clone> StructuralEq for RequestCacheKey<Endpoint>
impl<Endpoint: Ord + Clone> StructuralPartialEq for RequestCacheKey<Endpoint>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more