pub trait IVdsIscsiInitiatorAdapter_Impl: Sized {
// Required methods
fn GetProperties(
&self,
pinitiatoradapterprop: *mut VDS_ISCSI_INITIATOR_ADAPTER_PROP,
) -> Result<()>;
fn QueryInitiatorPortals(&self) -> Result<IEnumVdsObject>;
fn LoginToTarget(
&self,
logintype: VDS_ISCSI_LOGIN_TYPE,
targetid: &GUID,
targetportalid: &GUID,
initiatorportalid: &GUID,
ulloginflags: u32,
bheaderdigest: BOOL,
bdatadigest: BOOL,
authtype: VDS_ISCSI_AUTH_TYPE,
) -> Result<IVdsAsync>;
fn LogoutFromTarget(&self, targetid: &GUID) -> Result<IVdsAsync>;
}
Required Methods§
fn GetProperties( &self, pinitiatoradapterprop: *mut VDS_ISCSI_INITIATOR_ADAPTER_PROP, ) -> Result<()>
fn QueryInitiatorPortals(&self) -> Result<IEnumVdsObject>
fn LoginToTarget( &self, logintype: VDS_ISCSI_LOGIN_TYPE, targetid: &GUID, targetportalid: &GUID, initiatorportalid: &GUID, ulloginflags: u32, bheaderdigest: BOOL, bdatadigest: BOOL, authtype: VDS_ISCSI_AUTH_TYPE, ) -> Result<IVdsAsync>
fn LogoutFromTarget(&self, targetid: &GUID) -> Result<IVdsAsync>
Object Safety§
This trait is not object safe.