Type Alias GProxyInterface

Source
pub type GProxyInterface = _GProxyInterface;
Expand description

GProxy:

Interface that handles proxy connection and payload.

Since: 2.26

Aliased Type§

struct GProxyInterface {
    pub g_iface: _GTypeInterface,
    pub connect: Option<unsafe extern "C" fn(*mut _GProxy, *mut _GIOStream, *mut _GProxyAddress, *mut _GCancellable, *mut *mut _GError) -> *mut _GIOStream>,
    pub connect_async: Option<unsafe extern "C" fn(*mut _GProxy, *mut _GIOStream, *mut _GProxyAddress, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
    pub connect_finish: Option<unsafe extern "C" fn(*mut _GProxy, *mut _GAsyncResult, *mut *mut _GError) -> *mut _GIOStream>,
    pub supports_hostname: Option<unsafe extern "C" fn(*mut _GProxy) -> i32>,
}

Fields§

§g_iface: _GTypeInterface§connect: Option<unsafe extern "C" fn(*mut _GProxy, *mut _GIOStream, *mut _GProxyAddress, *mut _GCancellable, *mut *mut _GError) -> *mut _GIOStream>§connect_async: Option<unsafe extern "C" fn(*mut _GProxy, *mut _GIOStream, *mut _GProxyAddress, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§connect_finish: Option<unsafe extern "C" fn(*mut _GProxy, *mut _GAsyncResult, *mut *mut _GError) -> *mut _GIOStream>§supports_hostname: Option<unsafe extern "C" fn(*mut _GProxy) -> i32>

Trait Implementations

Source§

impl Clone for _GProxyInterface

Source§

fn clone(&self) -> _GProxyInterface

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GProxyInterface

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GProxyInterface

Source§

fn eq(&self, other: &_GProxyInterface) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GProxyInterface

Source§

impl Eq for _GProxyInterface

Source§

impl StructuralPartialEq for _GProxyInterface