pub trait IVdsServiceIscsi_Impl: Sized {
// Required methods
fn GetInitiatorName(&self) -> Result<PWSTR>;
fn QueryInitiatorAdapters(&self) -> Result<IEnumVdsObject>;
fn SetIpsecGroupPresharedKey(
&self,
pipseckey: *const VDS_ISCSI_IPSEC_KEY,
) -> Result<()>;
fn SetAllIpsecTunnelAddresses(
&self,
ptunneladdress: *const VDS_IPADDRESS,
pdestinationaddress: *const VDS_IPADDRESS,
) -> Result<()>;
fn SetAllIpsecSecurity(
&self,
targetportalid: &GUID,
ullsecurityflags: u64,
pipseckey: *const VDS_ISCSI_IPSEC_KEY,
) -> Result<()>;
fn SetInitiatorSharedSecret(
&self,
pinitiatorsharedsecret: *const VDS_ISCSI_SHARED_SECRET,
targetid: &GUID,
) -> Result<()>;
fn RememberTargetSharedSecret(
&self,
targetid: &GUID,
ptargetsharedsecret: *const VDS_ISCSI_SHARED_SECRET,
) -> Result<()>;
}
Required Methods§
fn GetInitiatorName(&self) -> Result<PWSTR>
fn QueryInitiatorAdapters(&self) -> Result<IEnumVdsObject>
fn SetAllIpsecTunnelAddresses( &self, ptunneladdress: *const VDS_IPADDRESS, pdestinationaddress: *const VDS_IPADDRESS, ) -> Result<()>
fn SetAllIpsecSecurity( &self, targetportalid: &GUID, ullsecurityflags: u64, pipseckey: *const VDS_ISCSI_IPSEC_KEY, ) -> Result<()>
Object Safety§
This trait is not object safe.