Trait gio::subclass::prelude::SeekableImpl [−][src]
pub trait SeekableImpl: ObjectImpl + Send { 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>; }
Required methods
fn seek(
&self,
seekable: &Self::Type,
offset: i64,
type_: SeekType,
cancellable: Option<&Cancellable>
) -> Result<(), Error>
fn can_truncate(&self, seekable: &Self::Type) -> bool