windows::Win32::UI::Shell

Trait IStreamAsync_Impl

pub trait IStreamAsync_Impl: IStream_Impl {
    // Required methods
    fn ReadAsync(
        &self,
        pv: *mut c_void,
        cb: u32,
        pcbread: *mut u32,
        lpoverlapped: *const OVERLAPPED,
    ) -> Result<()>;
    fn WriteAsync(
        &self,
        lpbuffer: *const c_void,
        cb: u32,
        pcbwritten: *mut u32,
        lpoverlapped: *const OVERLAPPED,
    ) -> Result<()>;
    fn OverlappedResult(
        &self,
        lpoverlapped: *const OVERLAPPED,
        lpnumberofbytestransferred: *mut u32,
        bwait: BOOL,
    ) -> Result<()>;
    fn CancelIo(&self) -> Result<()>;
}

Required Methods§

fn ReadAsync( &self, pv: *mut c_void, cb: u32, pcbread: *mut u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>

fn WriteAsync( &self, lpbuffer: *const c_void, cb: u32, pcbwritten: *mut u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>

fn OverlappedResult( &self, lpoverlapped: *const OVERLAPPED, lpnumberofbytestransferred: *mut u32, bwait: BOOL, ) -> Result<()>

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

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§