#[non_exhaustive]pub struct TcpForwardingEntry {
pub listening_port: String,
pub listening_address: Option<String>,
pub allowed_source: Option<String>,
pub forwarding_address: Option<String>,
pub forwarding_port: Option<String>,
pub max_connections: Option<String>,
}Expand description
A listening-port <port> listening-address <address> mapping of TCP port forwarding.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.listening_port: String§listening_address: Option<String>§allowed_source: Option<String>§forwarding_address: Option<String>§forwarding_port: Option<String>§max_connections: Option<String>Trait Implementations§
Source§impl Clone for TcpForwardingEntry
impl Clone for TcpForwardingEntry
Source§impl Debug for TcpForwardingEntry
impl Debug for TcpForwardingEntry
impl Eq for TcpForwardingEntry
Source§impl PartialEq for TcpForwardingEntry
impl PartialEq for TcpForwardingEntry
impl StructuralPartialEq for TcpForwardingEntry
Auto Trait Implementations§
impl Forget for TcpForwardingEntry
impl Freeze for TcpForwardingEntry
impl Move for TcpForwardingEntry
impl RefUnwindSafe for TcpForwardingEntry
impl Send for TcpForwardingEntrywhere
RawVecInner: Send,
impl Sync for TcpForwardingEntrywhere
RawVecInner: Sync,
impl Unpin for TcpForwardingEntry
impl UnsafeUnpin for TcpForwardingEntry
impl UnwindSafe for TcpForwardingEntrywhere
RawVecInner: UnwindSafe,
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