[]Struct gio::InputStream

pub struct InputStream(_, _);

InputStream has functions to read from a stream (InputStream::read), to close a stream (InputStreamExt::close) and to skip some content (InputStreamExt::skip).

To copy the content of an input stream to an output stream without manually handling the reads and writes, use OutputStreamExt::splice.

See the documentation for IOStream for details of thread safety of streaming APIs.

All of these functions have async variants too.

Implements

InputStreamExt, glib::object::ObjectExt, InputStreamExtManual

Trait Implementations

impl Clone for InputStream

impl Debug for InputStream

impl Display for InputStream[src]

impl Eq for InputStream

impl Hash for InputStream

impl IsA<InputStream> for BufferedInputStream

impl IsA<InputStream> for ConverterInputStream

impl IsA<InputStream> for DataInputStream

impl IsA<InputStream> for FileInputStream

impl IsA<InputStream> for FilterInputStream

impl IsA<InputStream> for MemoryInputStream

impl IsA<InputStream> for PollableInputStream

impl IsA<InputStream> for UnixInputStream

impl IsA<InputStream> for ReadInputStream

impl Ord for InputStream

impl<T: ObjectType> PartialEq<T> for InputStream

impl<T: ObjectType> PartialOrd<T> for InputStream

impl StaticType for InputStream

Auto Trait Implementations

impl RefUnwindSafe for InputStream

impl !Send for InputStream

impl !Sync for InputStream

impl Unpin for InputStream

impl UnwindSafe for InputStream

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.