[−][src]Trait gio::prelude::DataInputStreamExt
Required methods
fn get_byte_order(&self) -> DataStreamByteOrder
fn get_newline_type(&self) -> DataStreamNewlineType
fn read_byte<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u8, Error>
&self,
cancellable: Option<&P>
) -> Result<u8, Error>
fn read_int16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i16, Error>
&self,
cancellable: Option<&P>
) -> Result<i16, Error>
fn read_int32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i32, Error>
&self,
cancellable: Option<&P>
) -> Result<i32, Error>
fn read_int64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i64, Error>
&self,
cancellable: Option<&P>
) -> Result<i64, Error>
fn read_line_utf8<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(Option<GString>, usize), Error>
&self,
cancellable: Option<&P>
) -> Result<(Option<GString>, usize), Error>
fn read_uint16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u16, Error>
&self,
cancellable: Option<&P>
) -> Result<u16, Error>
fn read_uint32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u32, Error>
&self,
cancellable: Option<&P>
) -> Result<u32, Error>
fn read_uint64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u64, Error>
&self,
cancellable: Option<&P>
) -> Result<u64, Error>
fn read_until<P: IsA<Cancellable>>(
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
fn read_until_async<P: IsA<Cancellable>, Q: FnOnce(Result<(GString, usize), Error>) + Send + 'static>(
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn read_until_async_future(
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
fn read_upto<P: IsA<Cancellable>>(
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
fn read_upto_async<P: IsA<Cancellable>, Q: FnOnce(Result<(GString, usize), Error>) + Send + 'static>(
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn read_upto_async_future(
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
fn set_byte_order(&self, order: DataStreamByteOrder)
fn set_newline_type(&self, type_: DataStreamNewlineType)
fn connect_property_byte_order_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_newline_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<DataInputStream>> DataInputStreamExt for O
[src]
fn get_byte_order(&self) -> DataStreamByteOrder
[src]
fn get_newline_type(&self) -> DataStreamNewlineType
[src]
fn read_byte<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u8, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<u8, Error>
fn read_int16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i16, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<i16, Error>
fn read_int32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i32, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<i32, Error>
fn read_int64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<i64, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<i64, Error>
fn read_line_utf8<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<(Option<GString>, usize), Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<(Option<GString>, usize), Error>
fn read_uint16<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u16, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<u16, Error>
fn read_uint32<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u32, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<u32, Error>
fn read_uint64<P: IsA<Cancellable>>(
&self,
cancellable: Option<&P>
) -> Result<u64, Error>
[src]
&self,
cancellable: Option<&P>
) -> Result<u64, Error>
fn read_until<P: IsA<Cancellable>>(
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
[src]
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
fn read_until_async<P: IsA<Cancellable>, Q: FnOnce(Result<(GString, usize), Error>) + Send + 'static>(
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn read_until_async_future(
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
[src]
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
fn read_upto<P: IsA<Cancellable>>(
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
[src]
&self,
stop_chars: &str,
cancellable: Option<&P>
) -> Result<(GString, usize), Error>
fn read_upto_async<P: IsA<Cancellable>, Q: FnOnce(Result<(GString, usize), Error>) + Send + 'static>(
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
stop_chars: &str,
io_priority: Priority,
cancellable: Option<&P>,
callback: Q
)
fn read_upto_async_future(
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
[src]
&self,
stop_chars: &str,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(GString, usize), Error>> + 'static>>
fn set_byte_order(&self, order: DataStreamByteOrder)
[src]
fn set_newline_type(&self, type_: DataStreamNewlineType)
[src]
fn connect_property_byte_order_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_newline_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId