pub struct WinINet(_);Implementations
sourceimpl WinINet
impl WinINet
pub fn new(
agent: &WinStr,
open_type: InternetOpenType,
proxy: Option<&WinStr>,
direct_hosts: Option<&WinStr>
) -> Result<WinINet, Error>
pub fn set_callback(&mut self, cb: INTERNET_STATUS_CALLBACK) -> Result<(), ()>
pub fn connect(
&self,
host: &WinStr,
port: u16,
user: Option<&WinStr>,
password: Option<&WinStr>
) -> Result<WinINetConnection<'_>, Error>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WinINet
impl !Send for WinINet
impl !Sync for WinINet
impl Unpin for WinINet
impl UnwindSafe for WinINet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more