Trait IPrincipal_Impl
pub trait IPrincipal_Impl: IDispatch_Impl {
// Required methods
fn Id(&self, pid: *mut BSTR) -> Result<()>;
fn SetId(&self, id: &BSTR) -> Result<()>;
fn DisplayName(&self, pname: *mut BSTR) -> Result<()>;
fn SetDisplayName(&self, name: &BSTR) -> Result<()>;
fn UserId(&self, puser: *mut BSTR) -> Result<()>;
fn SetUserId(&self, user: &BSTR) -> Result<()>;
fn LogonType(&self, plogon: *mut TASK_LOGON_TYPE) -> Result<()>;
fn SetLogonType(&self, logon: TASK_LOGON_TYPE) -> Result<()>;
fn GroupId(&self, pgroup: *mut BSTR) -> Result<()>;
fn SetGroupId(&self, group: &BSTR) -> Result<()>;
fn RunLevel(&self, prunlevel: *mut TASK_RUNLEVEL_TYPE) -> Result<()>;
fn SetRunLevel(&self, runlevel: TASK_RUNLEVEL_TYPE) -> Result<()>;
}
Required Methods§
fn Id(&self, pid: *mut BSTR) -> Result<()>
fn SetId(&self, id: &BSTR) -> Result<()>
fn DisplayName(&self, pname: *mut BSTR) -> Result<()>
fn SetDisplayName(&self, name: &BSTR) -> Result<()>
fn UserId(&self, puser: *mut BSTR) -> Result<()>
fn SetUserId(&self, user: &BSTR) -> Result<()>
fn LogonType(&self, plogon: *mut TASK_LOGON_TYPE) -> Result<()>
fn SetLogonType(&self, logon: TASK_LOGON_TYPE) -> Result<()>
fn GroupId(&self, pgroup: *mut BSTR) -> Result<()>
fn SetGroupId(&self, group: &BSTR) -> Result<()>
fn RunLevel(&self, prunlevel: *mut TASK_RUNLEVEL_TYPE) -> Result<()>
fn SetRunLevel(&self, runlevel: TASK_RUNLEVEL_TYPE) -> 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.