Trait gio::subclass::prelude::SeekableImpl
source · pub trait SeekableImpl: ObjectImpl + Send {
// Required methods
fn tell(&self, seekable: &Self::Type) -> i64;
fn can_seek(&self, seekable: &Self::Type) -> bool;
fn seek(
&self,
seekable: &Self::Type,
offset: i64,
type_: SeekType,
cancellable: Option<&Cancellable>
) -> Result<(), Error>;
fn can_truncate(&self, seekable: &Self::Type) -> bool;
fn truncate(
&self,
seekable: &Self::Type,
offset: i64,
cancellable: Option<&Cancellable>
) -> Result<(), Error>;
}