pub trait DataInputStreamExt: 'static {
Show 13 methods // Required methods fn byte_order(&self) -> DataStreamByteOrder; fn newline_type(&self) -> DataStreamNewlineType; fn read_byte( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<u8, Error>; fn read_int16( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<i16, Error>; fn read_int32( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<i32, Error>; fn read_int64( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<i64, Error>; fn read_uint16( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<u16, Error>; fn read_uint32( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<u32, Error>; fn read_uint64( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> 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§

source

fn byte_order(&self) -> DataStreamByteOrder

source

fn newline_type(&self) -> DataStreamNewlineType

source

fn read_byte( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<u8, Error>

source

fn read_int16( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<i16, Error>

source

fn read_int32( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<i32, Error>

source

fn read_int64( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<i64, Error>

source

fn read_uint16( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<u16, Error>

source

fn read_uint32( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<u32, Error>

source

fn read_uint64( &self, cancellable: Option<&impl IsA<Cancellable>> ) -> Result<u64, Error>

source

fn set_byte_order(&self, order: DataStreamByteOrder)

source

fn set_newline_type(&self, type_: DataStreamNewlineType)

source

fn connect_byte_order_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_newline_type_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§