Trait DataInputStreamExt

Source
pub trait DataInputStreamExt: IsA<DataInputStream> + 'static {
Show 13 methods // Provided 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 { ... }
}

Provided 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§