pub trait IVdsVdProvider_Impl: Sized {
    // Required methods
    fn QueryVDisks(&self) -> Result<IEnumVdsObject>;
    fn CreateVDisk(
        &self,
        virtualdevicetype: *const VIRTUAL_STORAGE_TYPE,
        ppath: &PCWSTR,
        pstringsecuritydescriptor: &PCWSTR,
        flags: CREATE_VIRTUAL_DISK_FLAG,
        providerspecificflags: u32,
        reserved: u32,
        pcreatediskparameters: *const VDS_CREATE_VDISK_PARAMETERS,
        ppasync: *mut Option<IVdsAsync>,
    ) -> Result<()>;
    fn AddVDisk(
        &self,
        virtualdevicetype: *const VIRTUAL_STORAGE_TYPE,
        ppath: &PCWSTR,
        ppvdisk: *mut Option<IVdsVDisk>,
    ) -> Result<()>;
    fn GetDiskFromVDisk(&self, pvdisk: Option<&IVdsVDisk>) -> Result<IVdsDisk>;
    fn GetVDiskFromDisk(&self, pdisk: Option<&IVdsDisk>) -> Result<IVdsVDisk>;
}

Required Methods§

fn QueryVDisks(&self) -> Result<IEnumVdsObject>

fn CreateVDisk( &self, virtualdevicetype: *const VIRTUAL_STORAGE_TYPE, ppath: &PCWSTR, pstringsecuritydescriptor: &PCWSTR, flags: CREATE_VIRTUAL_DISK_FLAG, providerspecificflags: u32, reserved: u32, pcreatediskparameters: *const VDS_CREATE_VDISK_PARAMETERS, ppasync: *mut Option<IVdsAsync>, ) -> Result<()>

fn AddVDisk( &self, virtualdevicetype: *const VIRTUAL_STORAGE_TYPE, ppath: &PCWSTR, ppvdisk: *mut Option<IVdsVDisk>, ) -> Result<()>

fn GetDiskFromVDisk(&self, pvdisk: Option<&IVdsVDisk>) -> Result<IVdsDisk>

fn GetVDiskFromDisk(&self, pdisk: Option<&IVdsDisk>) -> Result<IVdsVDisk>

Object Safety§

This trait is not object safe.

Implementors§