pub struct RequestIds(/* private fields */);Expand description
Hands out request ids.
Ids must be unique for the life of the connection: reusing one would let a late response be matched to the wrong call.
Implementations§
Trait Implementations§
Source§impl Debug for RequestIds
impl Debug for RequestIds
Source§impl Default for RequestIds
impl Default for RequestIds
Source§fn default() -> RequestIds
fn default() -> RequestIds
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RequestIds
impl RefUnwindSafe for RequestIds
impl Send for RequestIds
impl Sync for RequestIds
impl Unpin for RequestIds
impl UnsafeUnpin for RequestIds
impl UnwindSafe for RequestIds
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