#[repr(C)]
pub struct GIOChannel {
Show 13 fields pub ref_count: c_int, pub funcs: *mut GIOFuncs, pub encoding: *mut c_char, pub read_cd: GIConv, pub write_cd: GIConv, pub line_term: *mut c_char, pub line_term_len: c_uint, pub buf_size: size_t, pub read_buf: *mut GString, pub encoded_read_buf: *mut GString, pub write_buf: *mut GString, pub partial_write_buf: [c_char; 6], pub use_buffer: c_uint, /* private fields */
}

Fields

ref_count: c_intfuncs: *mut GIOFuncsencoding: *mut c_charread_cd: GIConvwrite_cd: GIConvline_term: *mut c_charline_term_len: c_uintbuf_size: size_tread_buf: *mut GStringencoded_read_buf: *mut GStringwrite_buf: *mut GStringpartial_write_buf: [c_char; 6]use_buffer: c_uint

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.