Skip to content

Commit 0a85a96

Browse files
authored
net: implement Clone for NamedPipeInfo (tokio-rs#6586)
1 parent 12920ce commit 0a85a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/net/windows/named_pipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2626,7 +2626,7 @@ pub enum PipeEnd {
26262626
/// Information about a named pipe.
26272627
///
26282628
/// Constructed through [`NamedPipeServer::info`] or [`NamedPipeClient::info`].
2629-
#[derive(Debug)]
2629+
#[derive(Debug, Clone)]
26302630
#[non_exhaustive]
26312631
pub struct PipeInfo {
26322632
/// Indicates the mode of a named pipe.

0 commit comments

Comments
 (0)