Type Alias GOutputStreamClass

Source
pub type GOutputStreamClass = _GOutputStreamClass;
Expand description

GOutputStream:

Base class for writing output.

All classes derived from GOutputStream should implement synchronous writing, splicing, flushing and closing streams, but may implement asynchronous versions.

Aliased Type§

struct GOutputStreamClass {
Show 21 fields pub parent_class: _GObjectClass, pub write_fn: Option<unsafe extern "C" fn(*mut _GOutputStream, *const c_void, u64, *mut _GCancellable, *mut *mut _GError) -> i64>, pub splice: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GInputStream, u32, *mut _GCancellable, *mut *mut _GError) -> i64>, pub flush: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GCancellable, *mut *mut _GError) -> i32>, pub close_fn: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GCancellable, *mut *mut _GError) -> i32>, pub write_async: Option<unsafe extern "C" fn(*mut _GOutputStream, *const c_void, u64, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub write_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i64>, pub splice_async: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GInputStream, u32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub splice_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i64>, pub flush_async: Option<unsafe extern "C" fn(*mut _GOutputStream, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub flush_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub close_async: Option<unsafe extern "C" fn(*mut _GOutputStream, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub close_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub writev_fn: Option<unsafe extern "C" fn(*mut _GOutputStream, *const _GOutputVector, u64, *mut u64, *mut _GCancellable, *mut *mut _GError) -> i32>, pub writev_async: Option<unsafe extern "C" fn(*mut _GOutputStream, *const _GOutputVector, u64, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub writev_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut u64, *mut *mut _GError) -> i32>, pub _g_reserved4: Option<unsafe extern "C" fn()>, pub _g_reserved5: Option<unsafe extern "C" fn()>, pub _g_reserved6: Option<unsafe extern "C" fn()>, pub _g_reserved7: Option<unsafe extern "C" fn()>, pub _g_reserved8: Option<unsafe extern "C" fn()>,
}

Fields§

§parent_class: _GObjectClass§write_fn: Option<unsafe extern "C" fn(*mut _GOutputStream, *const c_void, u64, *mut _GCancellable, *mut *mut _GError) -> i64>§splice: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GInputStream, u32, *mut _GCancellable, *mut *mut _GError) -> i64>§flush: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GCancellable, *mut *mut _GError) -> i32>§close_fn: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GCancellable, *mut *mut _GError) -> i32>§write_async: Option<unsafe extern "C" fn(*mut _GOutputStream, *const c_void, u64, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§write_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i64>§splice_async: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GInputStream, u32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§splice_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i64>§flush_async: Option<unsafe extern "C" fn(*mut _GOutputStream, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§flush_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>§close_async: Option<unsafe extern "C" fn(*mut _GOutputStream, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§close_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>§writev_fn: Option<unsafe extern "C" fn(*mut _GOutputStream, *const _GOutputVector, u64, *mut u64, *mut _GCancellable, *mut *mut _GError) -> i32>§writev_async: Option<unsafe extern "C" fn(*mut _GOutputStream, *const _GOutputVector, u64, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§writev_finish: Option<unsafe extern "C" fn(*mut _GOutputStream, *mut _GAsyncResult, *mut u64, *mut *mut _GError) -> i32>§_g_reserved4: Option<unsafe extern "C" fn()>§_g_reserved5: Option<unsafe extern "C" fn()>§_g_reserved6: Option<unsafe extern "C" fn()>§_g_reserved7: Option<unsafe extern "C" fn()>§_g_reserved8: Option<unsafe extern "C" fn()>