[]Struct gio::Seekable

pub struct Seekable(_, _);

Seekable is implemented by streams (implementations of InputStream or OutputStream) that support seeking.

Seekable streams largely fall into two categories: resizable and fixed-size.

Seekable on fixed-sized streams is approximately the same as POSIX lseek on a block device (for example: attempting to seek past the end of the device is an error). Fixed streams typically cannot be truncated.

Seekable on resizable streams is approximately the same as POSIX lseek on a normal file. Seeking past the end and writing data will usually cause the stream to resize by introducing zero bytes.

Implements

SeekableExt

Trait Implementations

impl Clone for Seekable

impl Debug for Seekable

impl Display for Seekable[src]

impl Eq for Seekable

impl Hash for Seekable

impl IsA<Seekable> for BufferedInputStream

impl IsA<Seekable> for BufferedOutputStream

impl IsA<Seekable> for WriteOutputStream

impl IsA<Seekable> for DataInputStream

impl IsA<Seekable> for DataOutputStream

impl IsA<Seekable> for FileIOStream

impl IsA<Seekable> for FileInputStream

impl IsA<Seekable> for FileOutputStream

impl IsA<Seekable> for MemoryInputStream

impl IsA<Seekable> for MemoryOutputStream

impl IsA<Seekable> for ReadInputStream

impl<T: ObjectSubclass + SeekableImpl> IsImplementable<T> for Seekable[src]

impl Ord for Seekable

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

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

impl StaticType for Seekable

Auto Trait Implementations

impl RefUnwindSafe for Seekable

impl !Send for Seekable

impl !Sync for Seekable

impl Unpin for Seekable

impl UnwindSafe for Seekable

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> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

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.