#[repr(C)]
pub struct IDedupDataPort_Vtbl {
Show 13 fields pub base__: IUnknown_Vtbl, pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DedupDataPortVolumeStatus, _: *mut u32) -> HRESULT, pub LookupChunks: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupHash, _: *mut GUID) -> HRESULT, pub InsertChunks: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupChunk, _: u32, _: *const u8, _: *mut GUID) -> HRESULT, pub InsertChunksWithStream: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupChunk, _: u32, _: *mut c_void, _: *mut GUID) -> HRESULT, pub CommitStreams: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupStream, _: u32, _: *const DedupStreamEntry, _: *mut GUID) -> HRESULT, pub CommitStreamsWithStream: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupStream, _: u32, _: *mut c_void, _: *mut GUID) -> HRESULT, pub GetStreams: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const MaybeUninit<BSTR>, _: *mut GUID) -> HRESULT, pub GetStreamsResults: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: u32, _: *mut u32, _: *mut *mut DedupStream, _: *mut u32, _: *mut *mut DedupStreamEntry, _: *mut DedupDataPortRequestStatus, _: *mut *mut HRESULT) -> HRESULT, pub GetChunks: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupHash, _: *mut GUID) -> HRESULT, pub GetChunksResults: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: u32, _: *mut u32, _: *mut *mut DedupChunk, _: *mut u32, _: *mut *mut u8, _: *mut DedupDataPortRequestStatus, _: *mut *mut HRESULT) -> HRESULT, pub GetRequestStatus: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: *mut DedupDataPortRequestStatus) -> HRESULT, pub GetRequestResults: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: *mut HRESULT, _: *mut u32, _: *mut DedupDataPortRequestStatus, _: *mut *mut HRESULT) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DedupDataPortVolumeStatus, _: *mut u32) -> HRESULT§LookupChunks: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupHash, _: *mut GUID) -> HRESULT§InsertChunks: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupChunk, _: u32, _: *const u8, _: *mut GUID) -> HRESULT§InsertChunksWithStream: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupChunk, _: u32, _: *mut c_void, _: *mut GUID) -> HRESULT§CommitStreams: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupStream, _: u32, _: *const DedupStreamEntry, _: *mut GUID) -> HRESULT§CommitStreamsWithStream: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupStream, _: u32, _: *mut c_void, _: *mut GUID) -> HRESULT§GetStreams: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const MaybeUninit<BSTR>, _: *mut GUID) -> HRESULT§GetStreamsResults: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: u32, _: *mut u32, _: *mut *mut DedupStream, _: *mut u32, _: *mut *mut DedupStreamEntry, _: *mut DedupDataPortRequestStatus, _: *mut *mut HRESULT) -> HRESULT§GetChunks: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DedupHash, _: *mut GUID) -> HRESULT§GetChunksResults: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: u32, _: *mut u32, _: *mut *mut DedupChunk, _: *mut u32, _: *mut *mut u8, _: *mut DedupDataPortRequestStatus, _: *mut *mut HRESULT) -> HRESULT§GetRequestStatus: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: *mut DedupDataPortRequestStatus) -> HRESULT§GetRequestResults: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u32, _: *mut HRESULT, _: *mut u32, _: *mut DedupDataPortRequestStatus, _: *mut *mut HRESULT) -> HRESULT

Implementations§

§

impl IDedupDataPort_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDedupDataPort_Vtbl
where Identity: IDedupDataPort_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.