Trait gio::prelude::SeekableExt
source · pub trait SeekableExt: 'static {
// Required methods
fn can_seek(&self) -> bool;
fn can_truncate(&self) -> bool;
fn seek(
&self,
offset: i64,
type_: SeekType,
cancellable: Option<&impl IsA<Cancellable>>
) -> Result<(), Error>;
fn tell(&self) -> i64;
fn truncate(
&self,
offset: i64,
cancellable: Option<&impl IsA<Cancellable>>
) -> Result<(), Error>;
}