pub struct TcpListenPlan {
pub host: TcpListenHost,
pub port: u16,
pub address_family: AddressFamilyPreference,
pub tunnel: TcpTunnelMode,
}Fields§
§host: TcpListenHost§port: u16§address_family: AddressFamilyPreference§tunnel: TcpTunnelModeTrait Implementations§
Source§impl Clone for TcpListenPlan
impl Clone for TcpListenPlan
Source§fn clone(&self) -> TcpListenPlan
fn clone(&self) -> TcpListenPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TcpListenPlan
impl Debug for TcpListenPlan
impl Eq for TcpListenPlan
Source§impl PartialEq for TcpListenPlan
impl PartialEq for TcpListenPlan
impl StructuralPartialEq for TcpListenPlan
Auto Trait Implementations§
impl Freeze for TcpListenPlan
impl RefUnwindSafe for TcpListenPlan
impl Send for TcpListenPlan
impl Sync for TcpListenPlan
impl Unpin for TcpListenPlan
impl UnsafeUnpin for TcpListenPlan
impl UnwindSafe for TcpListenPlan
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