Trait gio::SeekableExt [−][src]
pub trait SeekableExt { fn can_seek(&self) -> bool; fn can_truncate(&self) -> bool; fn seek<'a, P: Into<Option<&'a Cancellable>>>(
&self,
offset: i64,
type_: SeekType,
cancellable: P
) -> Result<(), Error>; fn tell(&self) -> i64; fn truncate<'a, P: Into<Option<&'a Cancellable>>>(
&self,
offset: i64,
cancellable: P
) -> Result<(), Error>; }
Required Methods
fn can_seek(&self) -> bool
fn can_truncate(&self) -> bool
fn seek<'a, P: Into<Option<&'a Cancellable>>>(
&self,
offset: i64,
type_: SeekType,
cancellable: P
) -> Result<(), Error>
&self,
offset: i64,
type_: SeekType,
cancellable: P
) -> Result<(), Error>
fn tell(&self) -> i64
fn truncate<'a, P: Into<Option<&'a Cancellable>>>(
&self,
offset: i64,
cancellable: P
) -> Result<(), Error>
&self,
offset: i64,
cancellable: P
) -> Result<(), Error>