We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
From<(Ipv4Addr, u16)> for Socket<'static>
1 parent 018bade commit 8213447Copy full SHA for 8213447
src/changelog.rs
@@ -10,6 +10,7 @@ use crate::*;
10
/// - `From<PathBuf> for Socket<'static>`
11
/// - `From<Box<Path>> for Socket<'static>`
12
/// - `From<(IpAddr, u16)> for Socket<'static>`
13
+/// - `From<(Ipv4Addr, u16)> for Socket<'static>`
14
///
15
/// ## Changed
16
/// - [`Session::request_port_forward`] now takes `impl Into<...>`
src/port_forwarding.rs
@@ -64,6 +64,7 @@ macro_rules! impl_from_addr {
64
}
65
66
impl_from_addr!(net::IpAddr);
67
+impl_from_addr!(net::Ipv4Addr);
68
69
impl<'a> From<Cow<'a, Path>> for Socket<'a> {
70
fn from(path: Cow<'a, Path>) -> Self {
0 commit comments