pub struct IStreamAsync(/* private fields */);
Implementations§
Source§impl IStreamAsync
impl IStreamAsync
pub unsafe fn Read( &self, pv: *mut c_void, cb: u32, pcbread: *mut u32, ) -> Result<()>
pub unsafe fn Write(&self, pv: *const c_void, cb: u32) -> Result<u32>
pub unsafe fn Seek(&self, dlibmove: i64, dworigin: STREAM_SEEK) -> Result<u64>
pub unsafe fn SetSize(&self, libnewsize: u64) -> Result<()>
pub unsafe fn CopyTo<'a>( &self, pstm: impl IntoParam<'a, IStream>, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64, ) -> Result<()>
pub unsafe fn Commit(&self, grfcommitflags: u32) -> Result<()>
pub unsafe fn Revert(&self) -> Result<()>
pub unsafe fn LockRegion( &self, liboffset: u64, cb: u64, dwlocktype: u32, ) -> Result<()>
pub unsafe fn UnlockRegion( &self, liboffset: u64, cb: u64, dwlocktype: u32, ) -> Result<()>
pub unsafe fn Stat( &self, pstatstg: *mut STATSTG, grfstatflag: u32, ) -> Result<()>
pub unsafe fn Clone(&self) -> Result<IStream>
pub unsafe fn ReadAsync( &self, pv: *mut c_void, cb: u32, pcbread: *mut u32, lpoverlapped: *mut OVERLAPPED, ) -> Result<()>
pub unsafe fn WriteAsync( &self, lpbuffer: *const c_void, cb: u32, pcbwritten: *mut u32, lpoverlapped: *mut OVERLAPPED, ) -> Result<()>
pub unsafe fn OverlappedResult<'a>( &self, lpoverlapped: *mut OVERLAPPED, lpnumberofbytestransferred: *mut u32, bwait: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn CancelIo(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IStreamAsync
impl Clone for IStreamAsync
Source§fn clone(&self) -> IStreamAsync
fn clone(&self) -> IStreamAsync
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IStreamAsync
impl Debug for IStreamAsync
Source§impl From<&IStreamAsync> for ISequentialStream
impl From<&IStreamAsync> for ISequentialStream
Source§fn from(value: &IStreamAsync) -> Self
fn from(value: &IStreamAsync) -> Self
Converts to this type from the input type.
Source§impl From<&IStreamAsync> for IStream
impl From<&IStreamAsync> for IStream
Source§fn from(value: &IStreamAsync) -> Self
fn from(value: &IStreamAsync) -> Self
Converts to this type from the input type.
Source§impl From<&IStreamAsync> for IUnknown
impl From<&IStreamAsync> for IUnknown
Source§fn from(value: &IStreamAsync) -> Self
fn from(value: &IStreamAsync) -> Self
Converts to this type from the input type.
Source§impl From<IStreamAsync> for ISequentialStream
impl From<IStreamAsync> for ISequentialStream
Source§fn from(value: IStreamAsync) -> Self
fn from(value: IStreamAsync) -> Self
Converts to this type from the input type.
Source§impl From<IStreamAsync> for IStream
impl From<IStreamAsync> for IStream
Source§fn from(value: IStreamAsync) -> Self
fn from(value: IStreamAsync) -> Self
Converts to this type from the input type.
Source§impl From<IStreamAsync> for IUnknown
impl From<IStreamAsync> for IUnknown
Source§fn from(value: IStreamAsync) -> Self
fn from(value: IStreamAsync) -> Self
Converts to this type from the input type.
Source§impl Interface for IStreamAsync
impl Interface for IStreamAsync
const IID: Guid
type Vtable = IStreamAsync_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IStreamAsync
impl PartialEq for IStreamAsync
impl Eq for IStreamAsync
impl StructuralPartialEq for IStreamAsync
Auto Trait Implementations§
impl Freeze for IStreamAsync
impl RefUnwindSafe for IStreamAsync
impl !Send for IStreamAsync
impl !Sync for IStreamAsync
impl Unpin for IStreamAsync
impl UnwindSafe for IStreamAsync
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more