windows::Win32::Networking::WinHttp

Struct IWinHttpRequest_Vtbl

#[repr(C)]
pub struct IWinHttpRequest_Vtbl {
Show 20 fields pub base__: IDispatch_Vtbl, pub SetProxy: unsafe extern "system" fn(_: *mut c_void, _: i32, _: VARIANT, _: VARIANT) -> HRESULT, pub SetCredentials: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: i32) -> HRESULT, pub Open: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: VARIANT) -> HRESULT, pub SetRequestHeader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT, pub GetResponseHeader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetAllResponseHeaders: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub Send: unsafe extern "system" fn(_: *mut c_void, _: VARIANT) -> HRESULT, pub Status: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub StatusText: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub ResponseText: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub ResponseBody: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT) -> HRESULT, pub ResponseStream: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT) -> HRESULT, pub get_Option: unsafe extern "system" fn(_: *mut c_void, _: WinHttpRequestOption, _: *mut VARIANT) -> HRESULT, pub put_Option: unsafe extern "system" fn(_: *mut c_void, _: WinHttpRequestOption, _: VARIANT) -> HRESULT, pub WaitForResponse: unsafe extern "system" fn(_: *mut c_void, _: VARIANT, _: *mut VARIANT_BOOL) -> HRESULT, pub Abort: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetTimeouts: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: i32) -> HRESULT, pub SetClientCertificate: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetAutoLogonPolicy: unsafe extern "system" fn(_: *mut c_void, _: WinHttpRequestAutoLogonPolicy) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§SetProxy: unsafe extern "system" fn(_: *mut c_void, _: i32, _: VARIANT, _: VARIANT) -> HRESULT§SetCredentials: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: i32) -> HRESULT§Open: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: VARIANT) -> HRESULT§SetRequestHeader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT§GetResponseHeader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetAllResponseHeaders: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Send: unsafe extern "system" fn(_: *mut c_void, _: VARIANT) -> HRESULT§Status: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§StatusText: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§ResponseText: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§ResponseBody: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT) -> HRESULT§ResponseStream: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT) -> HRESULT§get_Option: unsafe extern "system" fn(_: *mut c_void, _: WinHttpRequestOption, _: *mut VARIANT) -> HRESULT§put_Option: unsafe extern "system" fn(_: *mut c_void, _: WinHttpRequestOption, _: VARIANT) -> HRESULT§WaitForResponse: unsafe extern "system" fn(_: *mut c_void, _: VARIANT, _: *mut VARIANT_BOOL) -> HRESULT§Abort: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetTimeouts: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: i32, _: i32) -> HRESULT§SetClientCertificate: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetAutoLogonPolicy: unsafe extern "system" fn(_: *mut c_void, _: WinHttpRequestAutoLogonPolicy) -> HRESULT

Implementations§

§

impl IWinHttpRequest_Vtbl

pub const fn new<Identity: IWinHttpRequest_Impl, const OFFSET: isize>() -> Self

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.