Trait IRandomAccessStream_Impl
pub trait IRandomAccessStream_Impl:
IClosable_Impl
+ IInputStream_Impl
+ IOutputStream_Impl {
// Required methods
fn Size(&self) -> Result<u64>;
fn SetSize(&self, value: u64) -> Result<()>;
fn GetInputStreamAt(&self, position: u64) -> Result<IInputStream>;
fn GetOutputStreamAt(&self, position: u64) -> Result<IOutputStream>;
fn Position(&self) -> Result<u64>;
fn Seek(&self, position: u64) -> Result<()>;
fn CloneStream(&self) -> Result<IRandomAccessStream>;
fn CanRead(&self) -> Result<bool>;
fn CanWrite(&self) -> Result<bool>;
}
Required Methods§
fn Size(&self) -> Result<u64>
fn SetSize(&self, value: u64) -> Result<()>
fn GetInputStreamAt(&self, position: u64) -> Result<IInputStream>
fn GetOutputStreamAt(&self, position: u64) -> Result<IOutputStream>
fn Position(&self) -> Result<u64>
fn Seek(&self, position: u64) -> Result<()>
fn CloneStream(&self) -> Result<IRandomAccessStream>
fn CanRead(&self) -> Result<bool>
fn CanWrite(&self) -> Result<bool>
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.