Trait gio::prelude::DataOutputStreamExt
source · pub trait DataOutputStreamExt: IsA<DataOutputStream> + Sealed + 'static {
// Provided methods
fn byte_order(&self) -> DataStreamByteOrder { ... }
fn put_byte(
&self,
data: u8,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn put_int16(
&self,
data: i16,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn put_int32(
&self,
data: i32,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn put_int64(
&self,
data: i64,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn put_string(
&self,
str: &str,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn put_uint16(
&self,
data: u16,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn put_uint32(
&self,
data: u32,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn put_uint64(
&self,
data: u64,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error> { ... }
fn set_byte_order(&self, order: DataStreamByteOrder) { ... }
fn connect_byte_order_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
sourcefn byte_order(&self) -> DataStreamByteOrder
fn byte_order(&self) -> DataStreamByteOrder
sourcefn put_byte(
&self,
data: u8,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_byte( &self, data: u8, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn put_int16(
&self,
data: i16,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_int16( &self, data: i16, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn put_int32(
&self,
data: i32,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_int32( &self, data: i32, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn put_int64(
&self,
data: i64,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_int64( &self, data: i64, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn put_string(
&self,
str: &str,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_string( &self, str: &str, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn put_uint16(
&self,
data: u16,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_uint16( &self, data: u16, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn put_uint32(
&self,
data: u32,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_uint32( &self, data: u32, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn put_uint64(
&self,
data: u64,
cancellable: Option<&impl IsA<Cancellable>>,
) -> Result<(), Error>
fn put_uint64( &self, data: u64, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>
sourcefn set_byte_order(&self, order: DataStreamByteOrder)
fn set_byte_order(&self, order: DataStreamByteOrder)
fn connect_byte_order_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.