windows::Win32::System::Contacts

Trait IContactManager_Impl

pub trait IContactManager_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(
        &self,
        pszappname: &PCWSTR,
        pszappversion: &PCWSTR,
    ) -> Result<()>;
    fn Load(&self, pszcontactid: &PCWSTR) -> Result<IContact>;
    fn MergeContactIDs(
        &self,
        psznewcontactid: &PCWSTR,
        pszoldcontactid: &PCWSTR,
    ) -> Result<()>;
    fn GetMeContact(&self) -> Result<IContact>;
    fn SetMeContact(&self, pmecontact: Ref<'_, IContact>) -> Result<()>;
    fn GetContactCollection(&self) -> Result<IContactCollection>;
}

Required Methods§

fn Initialize(&self, pszappname: &PCWSTR, pszappversion: &PCWSTR) -> Result<()>

fn Load(&self, pszcontactid: &PCWSTR) -> Result<IContact>

fn MergeContactIDs( &self, psznewcontactid: &PCWSTR, pszoldcontactid: &PCWSTR, ) -> Result<()>

fn GetMeContact(&self) -> Result<IContact>

fn SetMeContact(&self, pmecontact: Ref<'_, IContact>) -> Result<()>

fn GetContactCollection(&self) -> Result<IContactCollection>

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§