You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your great working for this crate, but [u8; 4] is not convinient as input type.
Do you have any plan that implement a trait like pub trait IntoIpv4Addr{ fn into_ipv4(&self) -> Result<Ipv4Addr> }
and change the method to pub fn ipv4<A: IntoIpv4Addr>(source: A, ...) -> PacketBuilderStep<IpHeaders>
or any other alternative way to make life easier?
I hope I've made myself clear
The text was updated successfully, but these errors were encountered:
Thanks for your great working for this crate, but [u8; 4] is not convinient as input type.
Do you have any plan that implement a trait like
pub trait IntoIpv4Addr{ fn into_ipv4(&self) -> Result<Ipv4Addr> }
and change the method to
pub fn ipv4<A: IntoIpv4Addr>(source: A, ...) -> PacketBuilderStep<IpHeaders>
or any other alternative way to make life easier?
I hope I've made myself clear
The text was updated successfully, but these errors were encountered: