pub trait ITsSbProvisioningPluginNotifySink_Impl: Sized {
    // Required methods
    fn OnJobCreated(&self, pvmnotifyinfo: *const VM_NOTIFY_INFO) -> Result<()>;
    fn OnVirtualMachineStatusChanged(
        &self,
        pvmnotifyentry: *const VM_NOTIFY_ENTRY,
        vmnotifystatus: VM_NOTIFY_STATUS,
        errorcode: HRESULT,
        errordescr: &BSTR,
    ) -> Result<()>;
    fn OnJobCompleted(
        &self,
        resultcode: HRESULT,
        resultdescription: &BSTR,
    ) -> Result<()>;
    fn OnJobCancelled(&self) -> Result<()>;
    fn LockVirtualMachine(
        &self,
        pvmnotifyentry: *const VM_NOTIFY_ENTRY,
    ) -> Result<()>;
    fn OnVirtualMachineHostStatusChanged(
        &self,
        vmhost: &BSTR,
        vmhostnotifystatus: VM_HOST_NOTIFY_STATUS,
        errorcode: HRESULT,
        errordescr: &BSTR,
    ) -> Result<()>;
}

Required Methods§

fn OnJobCreated(&self, pvmnotifyinfo: *const VM_NOTIFY_INFO) -> Result<()>

fn OnVirtualMachineStatusChanged( &self, pvmnotifyentry: *const VM_NOTIFY_ENTRY, vmnotifystatus: VM_NOTIFY_STATUS, errorcode: HRESULT, errordescr: &BSTR, ) -> Result<()>

fn OnJobCompleted( &self, resultcode: HRESULT, resultdescription: &BSTR, ) -> Result<()>

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

fn LockVirtualMachine( &self, pvmnotifyentry: *const VM_NOTIFY_ENTRY, ) -> Result<()>

fn OnVirtualMachineHostStatusChanged( &self, vmhost: &BSTR, vmhostnotifystatus: VM_HOST_NOTIFY_STATUS, errorcode: HRESULT, errordescr: &BSTR, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§