Trait IHostSecurityManager_Impl
pub trait IHostSecurityManager_Impl: IUnknownImpl {
// Required methods
fn ImpersonateLoggedOnUser(&self, htoken: HANDLE) -> Result<()>;
fn RevertToSelf(&self) -> Result<()>;
fn OpenThreadToken(
&self,
dwdesiredaccess: u32,
bopenasself: BOOL,
) -> Result<HANDLE>;
fn SetThreadToken(&self, htoken: HANDLE) -> Result<()>;
fn GetSecurityContext(
&self,
econtexttype: EContextType,
) -> Result<IHostSecurityContext>;
fn SetSecurityContext(
&self,
econtexttype: EContextType,
psecuritycontext: Ref<'_, IHostSecurityContext>,
) -> Result<()>;
}
Required Methods§
fn ImpersonateLoggedOnUser(&self, htoken: HANDLE) -> Result<()>
fn RevertToSelf(&self) -> Result<()>
fn OpenThreadToken( &self, dwdesiredaccess: u32, bopenasself: BOOL, ) -> Result<HANDLE>
fn SetThreadToken(&self, htoken: HANDLE) -> Result<()>
fn GetSecurityContext( &self, econtexttype: EContextType, ) -> Result<IHostSecurityContext>
fn SetSecurityContext( &self, econtexttype: EContextType, psecuritycontext: Ref<'_, IHostSecurityContext>, ) -> 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.