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
impl Clone for _GPollableOutputStreamInterface
Source§fn clone(&self) -> _GPollableOutputStreamInterface
fn clone(&self) -> _GPollableOutputStreamInterface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for _GPollableOutputStreamInterface
impl PartialEq for _GPollableOutputStreamInterface
Source§fn eq(&self, other: &_GPollableOutputStreamInterface) -> bool
fn eq(&self, other: &_GPollableOutputStreamInterface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.