windows::Win32::Security::Cryptography::Certificates

Trait IAlternativeName_Impl

pub trait IAlternativeName_Impl: IDispatch_Impl {
    // Required methods
    fn InitializeFromString(
        &self,
        type: AlternativeNameType,
        strvalue: &BSTR,
    ) -> Result<()>;
    fn InitializeFromRawData(
        &self,
        type: AlternativeNameType,
        encoding: EncodingType,
        strrawdata: &BSTR,
    ) -> Result<()>;
    fn InitializeFromOtherName(
        &self,
        pobjectid: Ref<'_, IObjectId>,
        encoding: EncodingType,
        strrawdata: &BSTR,
        tobewrapped: VARIANT_BOOL,
    ) -> Result<()>;
    fn Type(&self) -> Result<AlternativeNameType>;
    fn StrValue(&self) -> Result<BSTR>;
    fn ObjectId(&self) -> Result<IObjectId>;
    fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>;
}

Required Methods§

fn InitializeFromString( &self, type: AlternativeNameType, strvalue: &BSTR, ) -> Result<()>

fn InitializeFromRawData( &self, type: AlternativeNameType, encoding: EncodingType, strrawdata: &BSTR, ) -> Result<()>

fn InitializeFromOtherName( &self, pobjectid: Ref<'_, IObjectId>, encoding: EncodingType, strrawdata: &BSTR, tobewrapped: VARIANT_BOOL, ) -> Result<()>

fn Type(&self) -> Result<AlternativeNameType>

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

fn ObjectId(&self) -> Result<IObjectId>

fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>

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§