diff --git a/src/tcp_options.rs b/src/tcp_options.rs index 3164bc9..8f91d5c 100644 --- a/src/tcp_options.rs +++ b/src/tcp_options.rs @@ -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.