windows::Storage::Streams

Trait IOutputStream_Impl

pub trait IOutputStream_Impl: IClosable_Impl {
    // Required methods
    fn WriteAsync(
        &self,
        buffer: Ref<'_, IBuffer>,
    ) -> Result<IAsyncOperationWithProgress<u32, u32>>;
    fn FlushAsync(&self) -> Result<IAsyncOperation<bool>>;
}

Required Methods§

fn WriteAsync( &self, buffer: Ref<'_, IBuffer>, ) -> Result<IAsyncOperationWithProgress<u32, u32>>

fn FlushAsync(&self) -> Result<IAsyncOperation<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§