windows::Win32::Networking::ActiveDirectory

Trait IADsReplicaPointer_Impl

pub trait IADsReplicaPointer_Impl: IDispatch_Impl {
    // Required methods
    fn ServerName(&self) -> Result<BSTR>;
    fn SetServerName(&self, bstrservername: &BSTR) -> Result<()>;
    fn ReplicaType(&self) -> Result<i32>;
    fn SetReplicaType(&self, lnreplicatype: i32) -> Result<()>;
    fn ReplicaNumber(&self) -> Result<i32>;
    fn SetReplicaNumber(&self, lnreplicanumber: i32) -> Result<()>;
    fn Count(&self) -> Result<i32>;
    fn SetCount(&self, lncount: i32) -> Result<()>;
    fn ReplicaAddressHints(&self) -> Result<VARIANT>;
    fn SetReplicaAddressHints(
        &self,
        vreplicaaddresshints: &VARIANT,
    ) -> Result<()>;
}

Required Methods§

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

fn SetServerName(&self, bstrservername: &BSTR) -> Result<()>

fn ReplicaType(&self) -> Result<i32>

fn SetReplicaType(&self, lnreplicatype: i32) -> Result<()>

fn ReplicaNumber(&self) -> Result<i32>

fn SetReplicaNumber(&self, lnreplicanumber: i32) -> Result<()>

fn Count(&self) -> Result<i32>

fn SetCount(&self, lncount: i32) -> Result<()>

fn ReplicaAddressHints(&self) -> Result<VARIANT>

fn SetReplicaAddressHints(&self, vreplicaaddresshints: &VARIANT) -> 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§