pub struct InResponse {
pub request: Box<RequestMsgData>,
pub response: ReplyMsgData,
pub peer: Peer,
pub query_id: Option<QueryId>,
}Expand description
Recied response data along with metadata
Fields§
§request: Box<RequestMsgData>§response: ReplyMsgData§peer: PeerPeer who sent the response
query_id: Option<QueryId>Implementations§
Trait Implementations§
Source§impl Clone for InResponse
impl Clone for InResponse
Source§fn clone(&self) -> InResponse
fn clone(&self) -> InResponse
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 moreAuto Trait Implementations§
impl Freeze for InResponse
impl RefUnwindSafe for InResponse
impl Send for InResponse
impl Sync for InResponse
impl Unpin for InResponse
impl UnsafeUnpin for InResponse
impl UnwindSafe for InResponse
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