Struct GIOChannel
#[repr(C)]pub struct GIOChannel {Show 13 fields
pub ref_count: i32,
pub funcs: *mut GIOFuncs,
pub encoding: *mut i8,
pub read_cd: *mut _GIConv,
pub write_cd: *mut _GIConv,
pub line_term: *mut i8,
pub line_term_len: u32,
pub buf_size: usize,
pub read_buf: *mut GString,
pub encoded_read_buf: *mut GString,
pub write_buf: *mut GString,
pub partial_write_buf: [i8; 6],
pub use_buffer: u32,
/* private fields */
}Fields§
§ref_count: i32§funcs: *mut GIOFuncs§encoding: *mut i8§read_cd: *mut _GIConv§write_cd: *mut _GIConv§line_term: *mut i8§line_term_len: u32§buf_size: usize§read_buf: *mut GString§encoded_read_buf: *mut GString§write_buf: *mut GString§partial_write_buf: [i8; 6]§use_buffer: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for GIOChannel
impl RefUnwindSafe for GIOChannel
impl !Send for GIOChannel
impl !Sync for GIOChannel
impl Unpin for GIOChannel
impl UnwindSafe for GIOChannel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more