Skip to content

Commit

Permalink
RequestInfo derives Clone trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
humb1t committed Apr 13, 2022
1 parent f91b45f commit 567bb8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/server/src/server/request_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ impl std::ops::Deref for Request {
// TODO: add ProtocolInfo that would have TLS details or other additional things...
/// A narrow view of the Request, specifically a verified single query for the request
#[non_exhaustive]
#[derive(Clone)]
pub struct RequestInfo<'a> {
/// The source address from which the request came
pub src: SocketAddr,
Expand Down

0 comments on commit 567bb8c

Please sign in to comment.