Trait windows::Storage::Streams::IRandomAccessStream_Impl

pub trait IRandomAccessStream_Impl: Sized + 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>

Object Safety§

This trait is not object safe.

Implementors§