pub struct ResponseReceiveKey<S: Response> { /* private fields */ }Implementations§
Source§impl<S: Response> ResponseReceiveKey<S>
impl<S: Response> ResponseReceiveKey<S>
pub fn new(request_id: GlobalRequestId) -> Self
pub fn request_id(&self) -> GlobalRequestId
Trait Implementations§
Source§impl<S: Clone + Response> Clone for ResponseReceiveKey<S>
impl<S: Clone + Response> Clone for ResponseReceiveKey<S>
Source§fn clone(&self) -> ResponseReceiveKey<S>
fn clone(&self) -> ResponseReceiveKey<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<S: Copy + Response> Copy for ResponseReceiveKey<S>
impl<S: Eq + Response> Eq for ResponseReceiveKey<S>
impl<S: Response> StructuralPartialEq for ResponseReceiveKey<S>
Auto Trait Implementations§
impl<S> Freeze for ResponseReceiveKey<S>
impl<S> RefUnwindSafe for ResponseReceiveKey<S>where
S: RefUnwindSafe,
impl<S> Send for ResponseReceiveKey<S>
impl<S> Sync for ResponseReceiveKey<S>
impl<S> Unpin for ResponseReceiveKey<S>where
S: Unpin,
impl<S> UnwindSafe for ResponseReceiveKey<S>where
S: UnwindSafe,
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