pub struct LanAddress;Implementations§
Source§impl LanAddress
impl LanAddress
pub async fn tcp_socket( special_lan_ip: bool, peer: SocketAddr, host: SocketAddr, ) -> Result<TcpStream>
pub async fn udp_socket( special_lan_ip: bool, peer: SocketAddr, tunnel_id: u64, ) -> Result<UdpSocket>
Auto Trait Implementations§
impl Freeze for LanAddress
impl RefUnwindSafe for LanAddress
impl Send for LanAddress
impl Sync for LanAddress
impl Unpin for LanAddress
impl UnwindSafe for LanAddress
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