windows::Win32::System::EventNotificationService

Trait ISensLogon_Impl

pub trait ISensLogon_Impl: IDispatch_Impl {
    // Required methods
    fn Logon(&self, bstrusername: &BSTR) -> Result<()>;
    fn Logoff(&self, bstrusername: &BSTR) -> Result<()>;
    fn StartShell(&self, bstrusername: &BSTR) -> Result<()>;
    fn DisplayLock(&self, bstrusername: &BSTR) -> Result<()>;
    fn DisplayUnlock(&self, bstrusername: &BSTR) -> Result<()>;
    fn StartScreenSaver(&self, bstrusername: &BSTR) -> Result<()>;
    fn StopScreenSaver(&self, bstrusername: &BSTR) -> Result<()>;
}

Required Methods§

fn Logon(&self, bstrusername: &BSTR) -> Result<()>

fn Logoff(&self, bstrusername: &BSTR) -> Result<()>

fn StartShell(&self, bstrusername: &BSTR) -> Result<()>

fn DisplayLock(&self, bstrusername: &BSTR) -> Result<()>

fn DisplayUnlock(&self, bstrusername: &BSTR) -> Result<()>

fn StartScreenSaver(&self, bstrusername: &BSTR) -> Result<()>

fn StopScreenSaver(&self, bstrusername: &BSTR) -> 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§