Trait ux::prelude::DataOutputStreamExt [−]
pub trait DataOutputStreamExt: 'static {
pub fn get_byte_order(&self) -> DataStreamByteOrder;
pub fn put_byte<P>(
&self,
data: u8,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn put_int16<P>(
&self,
data: i16,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn put_int32<P>(
&self,
data: i32,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn put_int64<P>(
&self,
data: i64,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn put_string<P>(
&self,
str: &str,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn put_uint16<P>(
&self,
data: u16,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn put_uint32<P>(
&self,
data: u32,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn put_uint64<P>(
&self,
data: u64,
cancellable: Option<&P>
) -> Result<(), Error>
where
P: IsA<Cancellable>;
pub fn set_byte_order(&self, order: DataStreamByteOrder);
pub fn connect_property_byte_order_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self);
}Required methods
pub fn get_byte_order(&self) -> DataStreamByteOrder
pub fn put_byte<P>(
&self,
data: u8,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u8,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_int16<P>(
&self,
data: i16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: i16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_int32<P>(
&self,
data: i32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: i32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_int64<P>(
&self,
data: i64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: i64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_string<P>(
&self,
str: &str,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
str: &str,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_uint16<P>(
&self,
data: u16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_uint32<P>(
&self,
data: u32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_uint64<P>(
&self,
data: u64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn set_byte_order(&self, order: DataStreamByteOrder)
pub fn connect_property_byte_order_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
F: 'static + Fn(&Self),
Implementors
impl<O> DataOutputStreamExt for O where
O: IsA<DataOutputStream>,
O: IsA<DataOutputStream>,
pub fn get_byte_order(&self) -> DataStreamByteOrder
pub fn put_byte<P>(
&self,
data: u8,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u8,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_int16<P>(
&self,
data: i16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: i16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_int32<P>(
&self,
data: i32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: i32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_int64<P>(
&self,
data: i64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: i64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_string<P>(
&self,
str: &str,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
str: &str,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_uint16<P>(
&self,
data: u16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u16,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_uint32<P>(
&self,
data: u32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u32,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn put_uint64<P>(
&self,
data: u64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
&self,
data: u64,
cancellable: Option<&P>
) -> Result<(), Error> where
P: IsA<Cancellable>,
pub fn set_byte_order(&self, order: DataStreamByteOrder)
pub fn connect_property_byte_order_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),