pub trait SeekableImplExt: ObjectSubclass {
    // Required methods
    fn parent_tell(&self, seekable: &Self::Type) -> i64;
    fn parent_can_seek(&self, seekable: &Self::Type) -> bool;
    fn parent_seek(
        &self,
        seekable: &Self::Type,
        offset: i64,
        type_: SeekType,
        cancellable: Option<&Cancellable>
    ) -> Result<(), Error>;
    fn parent_can_truncate(&self, seekable: &Self::Type) -> bool;
    fn parent_truncate(
        &self,
        seekable: &Self::Type,
        offset: i64,
        cancellable: Option<&Cancellable>
    ) -> Result<(), Error>;
}

Required Methods§

source

fn parent_tell(&self, seekable: &Self::Type) -> i64

source

fn parent_can_seek(&self, seekable: &Self::Type) -> bool

source

fn parent_seek( &self, seekable: &Self::Type, offset: i64, type_: SeekType, cancellable: Option<&Cancellable> ) -> Result<(), Error>

source

fn parent_can_truncate(&self, seekable: &Self::Type) -> bool

source

fn parent_truncate( &self, seekable: &Self::Type, offset: i64, cancellable: Option<&Cancellable> ) -> Result<(), Error>

Implementors§