Struct jormungandr::fragment::pool::internal::IndexedQueueKeyRef
source · struct IndexedQueueKeyRef<K>(*const K);
Expand description
A wrapper around the pointer to the key of the queue element. This wrapper forwards the
implementations of Eq
and Hash
to K
. This is required becuase by default the
implementations of Eq
and Hash
from the pointer itself will be used.
Tuple Fields§
§0: *const K
Trait Implementations§
source§impl<K: Hash> Hash for IndexedQueueKeyRef<K>
impl<K: Hash> Hash for IndexedQueueKeyRef<K>
source§impl<K: PartialEq> PartialEq<IndexedQueueKeyRef<K>> for IndexedQueueKeyRef<K>
impl<K: PartialEq> PartialEq<IndexedQueueKeyRef<K>> for IndexedQueueKeyRef<K>
source§fn eq(&self, other: &IndexedQueueKeyRef<K>) -> bool
fn eq(&self, other: &IndexedQueueKeyRef<K>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<K: PartialEq> Eq for IndexedQueueKeyRef<K>
impl<K: Send> Send for IndexedQueueKeyRef<K>
Auto Trait Implementations§
impl<K> RefUnwindSafe for IndexedQueueKeyRef<K>where K: RefUnwindSafe,
impl<K> !Sync for IndexedQueueKeyRef<K>
impl<K> Unpin for IndexedQueueKeyRef<K>
impl<K> UnwindSafe for IndexedQueueKeyRef<K>where K: RefUnwindSafe,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request