pub trait SeekableImplExt: ObjectSubclass {
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
sourcefn parent_seek(
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
sourcefn parent_truncate(