windows::Win32::System::Wmi

Trait ISWbemPrivilege_Impl

pub trait ISWbemPrivilege_Impl: IDispatch_Impl {
    // Required methods
    fn IsEnabled(&self) -> Result<VARIANT_BOOL>;
    fn SetIsEnabled(&self, bisenabled: VARIANT_BOOL) -> Result<()>;
    fn Name(&self) -> Result<BSTR>;
    fn DisplayName(&self) -> Result<BSTR>;
    fn Identifier(&self) -> Result<WbemPrivilegeEnum>;
}

Required Methods§

fn IsEnabled(&self) -> Result<VARIANT_BOOL>

fn SetIsEnabled(&self, bisenabled: VARIANT_BOOL) -> Result<()>

fn Name(&self) -> Result<BSTR>

fn DisplayName(&self) -> Result<BSTR>

fn Identifier(&self) -> Result<WbemPrivilegeEnum>

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§