pub struct RequestId(_);
Expand description
Unique Id for each request. Note: This ID is only local and does not match the request’s ID at the remote peer.
Trait Implementations
sourceimpl Ord for RequestId
impl Ord for RequestId
sourceimpl PartialOrd<RequestId> for RequestId
impl PartialOrd<RequestId> for RequestId
sourcefn partial_cmp(&self, other: &RequestId) -> Option<Ordering>
fn partial_cmp(&self, other: &RequestId) -> 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 Copy for RequestId
impl Eq for RequestId
impl StructuralEq for RequestId
impl StructuralPartialEq for RequestId
Auto Trait Implementations
impl RefUnwindSafe for RequestId
impl Send for RequestId
impl Sync for RequestId
impl Unpin for RequestId
impl UnwindSafe for RequestId
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