windows::Win32::Storage::Imapi

Trait IWriteEngine2_Impl

pub trait IWriteEngine2_Impl: IDispatch_Impl {
Show 13 methods // Required methods fn WriteSection( &self, data: Ref<'_, IStream>, startingblockaddress: i32, numberofblocks: i32, ) -> Result<()>; fn CancelWrite(&self) -> Result<()>; fn SetRecorder(&self, value: Ref<'_, IDiscRecorder2Ex>) -> Result<()>; fn Recorder(&self) -> Result<IDiscRecorder2Ex>; fn SetUseStreamingWrite12(&self, value: VARIANT_BOOL) -> Result<()>; fn UseStreamingWrite12(&self) -> Result<VARIANT_BOOL>; fn SetStartingSectorsPerSecond(&self, value: i32) -> Result<()>; fn StartingSectorsPerSecond(&self) -> Result<i32>; fn SetEndingSectorsPerSecond(&self, value: i32) -> Result<()>; fn EndingSectorsPerSecond(&self) -> Result<i32>; fn SetBytesPerSector(&self, value: i32) -> Result<()>; fn BytesPerSector(&self) -> Result<i32>; fn WriteInProgress(&self) -> Result<VARIANT_BOOL>;
}

Required Methods§

fn WriteSection( &self, data: Ref<'_, IStream>, startingblockaddress: i32, numberofblocks: i32, ) -> Result<()>

fn CancelWrite(&self) -> Result<()>

fn SetRecorder(&self, value: Ref<'_, IDiscRecorder2Ex>) -> Result<()>

fn Recorder(&self) -> Result<IDiscRecorder2Ex>

fn SetUseStreamingWrite12(&self, value: VARIANT_BOOL) -> Result<()>

fn UseStreamingWrite12(&self) -> Result<VARIANT_BOOL>

fn SetStartingSectorsPerSecond(&self, value: i32) -> Result<()>

fn StartingSectorsPerSecond(&self) -> Result<i32>

fn SetEndingSectorsPerSecond(&self, value: i32) -> Result<()>

fn EndingSectorsPerSecond(&self) -> Result<i32>

fn SetBytesPerSector(&self, value: i32) -> Result<()>

fn BytesPerSector(&self) -> Result<i32>

fn WriteInProgress(&self) -> Result<VARIANT_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.

Implementors§