pub trait SeekableImpl:
    Send
    + ObjectImpl
    + ObjectSubclass{
    // Required methods
    fn tell(&self) -> i64;
    fn can_seek(&self) -> bool;
    fn seek(
        &self,
        offset: i64,
        type_: SeekType,
        cancellable: Option<&Cancellable>,
    ) -> Result<(), Error>;
    fn can_truncate(&self) -> bool;
    fn truncate(
        &self,
        offset: i64,
        cancellable: Option<&Cancellable>,
    ) -> Result<(), Error>;
}Required Methods§
fn tell(&self) -> i64
fn can_seek(&self) -> bool
fn seek( &self, offset: i64, type_: SeekType, cancellable: Option<&Cancellable>, ) -> Result<(), Error>
fn can_truncate(&self) -> bool
fn truncate( &self, offset: i64, cancellable: Option<&Cancellable>, ) -> Result<(), Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.