Skip to content

Commit

Permalink
Make TcpOptions non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jan 2, 2024
1 parent c4c2528 commit c60b3e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tcp_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use tokio::net::{TcpSocket, TcpStream};
/// Options to apply to the TCP socket involved in the tunneling.
#[derive(Debug, Default, Clone)]
#[cfg_attr(feature = "clap", derive(clap::Parser))]
#[non_exhaustive]
pub struct TcpOptions {
/// If given, sets the SO_RCVBUF option on the TCP socket to the given number of bytes.
/// Changes the size of the operating system's receive buffer associated with the socket.
Expand Down

0 comments on commit c60b3e9

Please sign in to comment.