pub trait IVdsIscsiTarget_Impl: Sized {
    // Required methods
    fn GetProperties(
        &self,
        ptargetprop: *mut VDS_ISCSI_TARGET_PROP,
    ) -> Result<()>;
    fn GetSubSystem(&self) -> Result<IVdsSubSystem>;
    fn QueryPortalGroups(&self) -> Result<IEnumVdsObject>;
    fn QueryAssociatedLuns(&self) -> Result<IEnumVdsObject>;
    fn CreatePortalGroup(&self) -> Result<IVdsAsync>;
    fn Delete(&self) -> Result<IVdsAsync>;
    fn SetFriendlyName(&self, pwszfriendlyname: &PCWSTR) -> Result<()>;
    fn SetSharedSecret(
        &self,
        ptargetsharedsecret: *const VDS_ISCSI_SHARED_SECRET,
        pwszinitiatorname: &PCWSTR,
    ) -> Result<()>;
    fn RememberInitiatorSharedSecret(
        &self,
        pwszinitiatorname: &PCWSTR,
        pinitiatorsharedsecret: *const VDS_ISCSI_SHARED_SECRET,
    ) -> Result<()>;
    fn GetConnectedInitiators(
        &self,
        pppwszinitiatorlist: *mut *mut PWSTR,
        plnumberofinitiators: *mut i32,
    ) -> Result<()>;
}

Required Methods§

fn GetProperties(&self, ptargetprop: *mut VDS_ISCSI_TARGET_PROP) -> Result<()>

fn GetSubSystem(&self) -> Result<IVdsSubSystem>

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

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

fn CreatePortalGroup(&self) -> Result<IVdsAsync>

fn Delete(&self) -> Result<IVdsAsync>

fn SetFriendlyName(&self, pwszfriendlyname: &PCWSTR) -> Result<()>

fn SetSharedSecret( &self, ptargetsharedsecret: *const VDS_ISCSI_SHARED_SECRET, pwszinitiatorname: &PCWSTR, ) -> Result<()>

fn RememberInitiatorSharedSecret( &self, pwszinitiatorname: &PCWSTR, pinitiatorsharedsecret: *const VDS_ISCSI_SHARED_SECRET, ) -> Result<()>

fn GetConnectedInitiators( &self, pppwszinitiatorlist: *mut *mut PWSTR, plnumberofinitiators: *mut i32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§