Type Alias GPollableOutputStreamInterface

Source
pub type GPollableOutputStreamInterface = _GPollableOutputStreamInterface;
Expand description

GPollableOutputStream:

An interface for a #GOutputStream that can be polled for writeability.

Since: 2.28

Aliased Type§

#[repr(C)]
pub struct GPollableOutputStreamInterface { pub g_iface: _GTypeInterface, pub can_poll: Option<unsafe extern "C" fn(*mut _GPollableOutputStream) -> i32>, pub is_writable: Option<unsafe extern "C" fn(*mut _GPollableOutputStream) -> i32>, pub create_source: Option<unsafe extern "C" fn(*mut _GPollableOutputStream, *mut _GCancellable) -> *mut _GSource>, pub write_nonblocking: Option<unsafe extern "C" fn(*mut _GPollableOutputStream, *const c_void, u64, *mut *mut _GError) -> i64>, pub writev_nonblocking: Option<unsafe extern "C" fn(*mut _GPollableOutputStream, *const _GOutputVector, u64, *mut u64, *mut *mut _GError) -> i32>, }

Fields§

§g_iface: _GTypeInterface§can_poll: Option<unsafe extern "C" fn(*mut _GPollableOutputStream) -> i32>§is_writable: Option<unsafe extern "C" fn(*mut _GPollableOutputStream) -> i32>§create_source: Option<unsafe extern "C" fn(*mut _GPollableOutputStream, *mut _GCancellable) -> *mut _GSource>§write_nonblocking: Option<unsafe extern "C" fn(*mut _GPollableOutputStream, *const c_void, u64, *mut *mut _GError) -> i64>§writev_nonblocking: Option<unsafe extern "C" fn(*mut _GPollableOutputStream, *const _GOutputVector, u64, *mut u64, *mut *mut _GError) -> i32>

Trait Implementations

Source§

impl Clone for _GPollableOutputStreamInterface

Source§

fn clone(&self) -> _GPollableOutputStreamInterface

Returns a duplicate 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 _GPollableOutputStreamInterface

Source§

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

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

impl PartialEq for _GPollableOutputStreamInterface

Source§

fn eq(&self, other: &_GPollableOutputStreamInterface) -> 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 _GPollableOutputStreamInterface

Source§

impl Eq for _GPollableOutputStreamInterface

Source§

impl StructuralPartialEq for _GPollableOutputStreamInterface