Struct naia_server::shared::ResponseReceiveKey
source · pub struct ResponseReceiveKey<S>where
S: Response,{ /* private fields */ }Implementations§
source§impl<S> ResponseReceiveKey<S>where
S: Response,
impl<S> ResponseReceiveKey<S>where
S: Response,
pub fn new(request_id: GlobalRequestId) -> ResponseReceiveKey<S>
pub fn request_id(&self) -> GlobalRequestId
Trait Implementations§
source§impl<S> Clone for ResponseReceiveKey<S>
impl<S> Clone for ResponseReceiveKey<S>
source§fn clone(&self) -> ResponseReceiveKey<S>
fn clone(&self) -> ResponseReceiveKey<S>
Returns a copy 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 moresource§impl<S> Hash for ResponseReceiveKey<S>
impl<S> Hash for ResponseReceiveKey<S>
source§impl<S> PartialEq for ResponseReceiveKey<S>
impl<S> PartialEq for ResponseReceiveKey<S>
impl<S> Copy for ResponseReceiveKey<S>
impl<S> Eq for ResponseReceiveKey<S>
impl<S> StructuralPartialEq for ResponseReceiveKey<S>where
S: Response,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)