[][src]Trait gio::subclass::seekable::SeekableImpl

pub trait SeekableImpl: ObjectImpl + Send + 'static {
    fn tell(&self, seekable: &Seekable) -> i64;
fn can_seek(&self, seekable: &Seekable) -> bool;
fn seek(
        &self,
        seekable: &Seekable,
        offset: i64,
        type_: SeekType,
        cancellable: Option<&Cancellable>
    ) -> Result<(), Error>;
fn can_truncate(&self, seekable: &Seekable) -> bool;
fn truncate(
        &self,
        seekable: &Seekable,
        offset: i64,
        cancellable: Option<&Cancellable>
    ) -> Result<(), Error>; }

Required methods

fn tell(&self, seekable: &Seekable) -> i64

fn can_seek(&self, seekable: &Seekable) -> bool

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

fn can_truncate(&self, seekable: &Seekable) -> bool

fn truncate(
    &self,
    seekable: &Seekable,
    offset: i64,
    cancellable: Option<&Cancellable>
) -> Result<(), Error>

Loading content...

Implementors

Loading content...