[][src]Trait gio::DataOutputStreamExt

pub trait DataOutputStreamExt: 'static {
    fn get_byte_order(&self) -> DataStreamByteOrder;
fn put_byte<P: IsA<Cancellable>>(
        &self,
        data: u8,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn put_int16<P: IsA<Cancellable>>(
        &self,
        data: i16,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn put_int32<P: IsA<Cancellable>>(
        &self,
        data: i32,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn put_int64<P: IsA<Cancellable>>(
        &self,
        data: i64,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn put_string<P: IsA<Cancellable>>(
        &self,
        str: &str,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn put_uint16<P: IsA<Cancellable>>(
        &self,
        data: u16,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn put_uint32<P: IsA<Cancellable>>(
        &self,
        data: u32,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn put_uint64<P: IsA<Cancellable>>(
        &self,
        data: u64,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn set_byte_order(&self, order: DataStreamByteOrder);
fn connect_property_byte_order_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_byte_order(&self) -> DataStreamByteOrder

fn put_byte<P: IsA<Cancellable>>(
    &self,
    data: u8,
    cancellable: Option<&P>
) -> Result<(), Error>

fn put_int16<P: IsA<Cancellable>>(
    &self,
    data: i16,
    cancellable: Option<&P>
) -> Result<(), Error>

fn put_int32<P: IsA<Cancellable>>(
    &self,
    data: i32,
    cancellable: Option<&P>
) -> Result<(), Error>

fn put_int64<P: IsA<Cancellable>>(
    &self,
    data: i64,
    cancellable: Option<&P>
) -> Result<(), Error>

fn put_string<P: IsA<Cancellable>>(
    &self,
    str: &str,
    cancellable: Option<&P>
) -> Result<(), Error>

fn put_uint16<P: IsA<Cancellable>>(
    &self,
    data: u16,
    cancellable: Option<&P>
) -> Result<(), Error>

fn put_uint32<P: IsA<Cancellable>>(
    &self,
    data: u32,
    cancellable: Option<&P>
) -> Result<(), Error>

fn put_uint64<P: IsA<Cancellable>>(
    &self,
    data: u64,
    cancellable: Option<&P>
) -> Result<(), Error>

fn set_byte_order(&self, order: DataStreamByteOrder)

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

Loading content...

Implementors

impl<O: IsA<DataOutputStream>> DataOutputStreamExt for O[src]

Loading content...