pub trait IDedupDataPort_Impl: Sized {
    // Required methods
    fn GetStatus(
        &self,
        pstatus: *mut DedupDataPortVolumeStatus,
        pdataheadroommb: *mut u32,
    ) -> Result<()>;
    fn LookupChunks(
        &self,
        count: u32,
        phashes: *const DedupHash,
    ) -> Result<GUID>;
    fn InsertChunks(
        &self,
        chunkcount: u32,
        pchunkmetadata: *const DedupChunk,
        databytecount: u32,
        pchunkdata: *const u8,
    ) -> Result<GUID>;
    fn InsertChunksWithStream(
        &self,
        chunkcount: u32,
        pchunkmetadata: *const DedupChunk,
        databytecount: u32,
        pchunkdatastream: Option<&IStream>,
    ) -> Result<GUID>;
    fn CommitStreams(
        &self,
        streamcount: u32,
        pstreams: *const DedupStream,
        entrycount: u32,
        pentries: *const DedupStreamEntry,
    ) -> Result<GUID>;
    fn CommitStreamsWithStream(
        &self,
        streamcount: u32,
        pstreams: *const DedupStream,
        entrycount: u32,
        pentriesstream: Option<&IStream>,
    ) -> Result<GUID>;
    fn GetStreams(
        &self,
        streamcount: u32,
        pstreampaths: *const BSTR,
    ) -> Result<GUID>;
    fn GetStreamsResults(
        &self,
        requestid: &GUID,
        maxwaitms: u32,
        streamentryindex: u32,
        pstreamcount: *mut u32,
        ppstreams: *mut *mut DedupStream,
        pentrycount: *mut u32,
        ppentries: *mut *mut DedupStreamEntry,
        pstatus: *mut DedupDataPortRequestStatus,
        ppitemresults: *mut *mut HRESULT,
    ) -> Result<()>;
    fn GetChunks(&self, count: u32, phashes: *const DedupHash) -> Result<GUID>;
    fn GetChunksResults(
        &self,
        requestid: &GUID,
        maxwaitms: u32,
        chunkindex: u32,
        pchunkcount: *mut u32,
        ppchunkmetadata: *mut *mut DedupChunk,
        pdatabytecount: *mut u32,
        ppchunkdata: *mut *mut u8,
        pstatus: *mut DedupDataPortRequestStatus,
        ppitemresults: *mut *mut HRESULT,
    ) -> Result<()>;
    fn GetRequestStatus(
        &self,
        requestid: &GUID,
    ) -> Result<DedupDataPortRequestStatus>;
    fn GetRequestResults(
        &self,
        requestid: &GUID,
        maxwaitms: u32,
        pbatchresult: *mut HRESULT,
        pbatchcount: *mut u32,
        pstatus: *mut DedupDataPortRequestStatus,
        ppitemresults: *mut *mut HRESULT,
    ) -> Result<()>;
}

Required Methods§

fn GetStatus( &self, pstatus: *mut DedupDataPortVolumeStatus, pdataheadroommb: *mut u32, ) -> Result<()>

fn LookupChunks(&self, count: u32, phashes: *const DedupHash) -> Result<GUID>

fn InsertChunks( &self, chunkcount: u32, pchunkmetadata: *const DedupChunk, databytecount: u32, pchunkdata: *const u8, ) -> Result<GUID>

fn InsertChunksWithStream( &self, chunkcount: u32, pchunkmetadata: *const DedupChunk, databytecount: u32, pchunkdatastream: Option<&IStream>, ) -> Result<GUID>

fn CommitStreams( &self, streamcount: u32, pstreams: *const DedupStream, entrycount: u32, pentries: *const DedupStreamEntry, ) -> Result<GUID>

fn CommitStreamsWithStream( &self, streamcount: u32, pstreams: *const DedupStream, entrycount: u32, pentriesstream: Option<&IStream>, ) -> Result<GUID>

fn GetStreams( &self, streamcount: u32, pstreampaths: *const BSTR, ) -> Result<GUID>

fn GetStreamsResults( &self, requestid: &GUID, maxwaitms: u32, streamentryindex: u32, pstreamcount: *mut u32, ppstreams: *mut *mut DedupStream, pentrycount: *mut u32, ppentries: *mut *mut DedupStreamEntry, pstatus: *mut DedupDataPortRequestStatus, ppitemresults: *mut *mut HRESULT, ) -> Result<()>

fn GetChunks(&self, count: u32, phashes: *const DedupHash) -> Result<GUID>

fn GetChunksResults( &self, requestid: &GUID, maxwaitms: u32, chunkindex: u32, pchunkcount: *mut u32, ppchunkmetadata: *mut *mut DedupChunk, pdatabytecount: *mut u32, ppchunkdata: *mut *mut u8, pstatus: *mut DedupDataPortRequestStatus, ppitemresults: *mut *mut HRESULT, ) -> Result<()>

fn GetRequestStatus( &self, requestid: &GUID, ) -> Result<DedupDataPortRequestStatus>

fn GetRequestResults( &self, requestid: &GUID, maxwaitms: u32, pbatchresult: *mut HRESULT, pbatchcount: *mut u32, pstatus: *mut DedupDataPortRequestStatus, ppitemresults: *mut *mut HRESULT, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§