pub enum RequestReference {
Background(u64),
Tagged(u64),
}Expand description
Request references tag a fetch with an application-defined correlation ID, without the net layer needing to know about higher-level concepts like tabs or navigation stacks.
Variants§
Background(u64)
A numbered background or prefetch task
Tagged(u64)
An application-defined opaque task group ID
Trait Implementations§
Source§impl Clone for RequestReference
impl Clone for RequestReference
Source§fn clone(&self) -> RequestReference
fn clone(&self) -> RequestReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestReference
Source§impl Debug for RequestReference
impl Debug for RequestReference
Source§impl Default for RequestReference
impl Default for RequestReference
Source§impl Display for RequestReference
impl Display for RequestReference
impl Eq for RequestReference
Source§impl Hash for RequestReference
impl Hash for RequestReference
Source§impl PartialEq for RequestReference
impl PartialEq for RequestReference
Source§fn eq(&self, other: &RequestReference) -> bool
fn eq(&self, other: &RequestReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestReference
Auto Trait Implementations§
impl Freeze for RequestReference
impl RefUnwindSafe for RequestReference
impl Send for RequestReference
impl Sync for RequestReference
impl Unpin for RequestReference
impl UnsafeUnpin for RequestReference
impl UnwindSafe for RequestReference
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.