windows::Win32::Storage::VirtualDiskService

Trait IVdsSubSystemIscsi_Impl

pub trait IVdsSubSystemIscsi_Impl: IUnknownImpl {
    // Required methods
    fn QueryTargets(&self) -> Result<IEnumVdsObject>;
    fn QueryPortals(&self) -> Result<IEnumVdsObject>;
    fn CreateTarget(
        &self,
        pwsziscsiname: &PCWSTR,
        pwszfriendlyname: &PCWSTR,
    ) -> Result<IVdsAsync>;
    fn SetIpsecGroupPresharedKey(
        &self,
        pipseckey: *const VDS_ISCSI_IPSEC_KEY,
    ) -> Result<()>;
}

Required Methods§

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

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

fn CreateTarget( &self, pwsziscsiname: &PCWSTR, pwszfriendlyname: &PCWSTR, ) -> Result<IVdsAsync>

fn SetIpsecGroupPresharedKey( &self, pipseckey: *const VDS_ISCSI_IPSEC_KEY, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§