pub struct NetUtils;
Implementations§
Source§impl NetUtils
impl NetUtils
pub fn create_socket_addr_for_host(host: &str, port: i32) -> Result<SocketAddr>
Auto Trait Implementations§
impl Freeze for NetUtils
impl RefUnwindSafe for NetUtils
impl Send for NetUtils
impl Sync for NetUtils
impl Unpin for NetUtils
impl UnwindSafe for NetUtils
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