Trait gio::prelude::DataInputStreamExt [−][src]
pub trait DataInputStreamExt: 'static {}Show methods
fn byte_order(&self) -> DataStreamByteOrder; fn newline_type(&self) -> DataStreamNewlineType; fn read_byte<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u8, Error>; fn read_int16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i16, Error>; fn read_int32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i32, Error>; fn read_int64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i64, Error>; fn read_uint16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u16, Error>; fn read_uint32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u32, Error>; fn read_uint64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u64, Error>; fn set_byte_order(&self, order: DataStreamByteOrder); fn set_newline_type(&self, type_: DataStreamNewlineType); fn connect_byte_order_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_newline_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
Required methods
fn byte_order(&self) -> DataStreamByteOrder
fn newline_type(&self) -> DataStreamNewlineType
fn read_int16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i16, Error>
fn read_int32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i32, Error>
fn read_int64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i64, Error>
fn read_uint16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u16, Error>
fn read_uint32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u32, Error>
fn read_uint64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u64, Error>
fn set_byte_order(&self, order: DataStreamByteOrder)
fn set_newline_type(&self, type_: DataStreamNewlineType)
fn connect_byte_order_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_newline_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId