windows::Web::Syndication

Trait ISyndicationClient_Impl

pub trait ISyndicationClient_Impl: IUnknownImpl {
    // Required methods
    fn ServerCredential(&self) -> Result<PasswordCredential>;
    fn SetServerCredential(
        &self,
        value: Ref<'_, PasswordCredential>,
    ) -> Result<()>;
    fn ProxyCredential(&self) -> Result<PasswordCredential>;
    fn SetProxyCredential(
        &self,
        value: Ref<'_, PasswordCredential>,
    ) -> Result<()>;
    fn MaxResponseBufferSize(&self) -> Result<u32>;
    fn SetMaxResponseBufferSize(&self, value: u32) -> Result<()>;
    fn Timeout(&self) -> Result<u32>;
    fn SetTimeout(&self, value: u32) -> Result<()>;
    fn BypassCacheOnRetrieve(&self) -> Result<bool>;
    fn SetBypassCacheOnRetrieve(&self, value: bool) -> Result<()>;
    fn SetRequestHeader(&self, name: &HSTRING, value: &HSTRING) -> Result<()>;
    fn RetrieveFeedAsync(
        &self,
        uri: Ref<'_, Uri>,
    ) -> Result<IAsyncOperationWithProgress<SyndicationFeed, RetrievalProgress>>;
}

Required Methods§

fn ServerCredential(&self) -> Result<PasswordCredential>

fn SetServerCredential(&self, value: Ref<'_, PasswordCredential>) -> Result<()>

fn ProxyCredential(&self) -> Result<PasswordCredential>

fn SetProxyCredential(&self, value: Ref<'_, PasswordCredential>) -> Result<()>

fn MaxResponseBufferSize(&self) -> Result<u32>

fn SetMaxResponseBufferSize(&self, value: u32) -> Result<()>

fn Timeout(&self) -> Result<u32>

fn SetTimeout(&self, value: u32) -> Result<()>

fn BypassCacheOnRetrieve(&self) -> Result<bool>

fn SetBypassCacheOnRetrieve(&self, value: bool) -> Result<()>

fn SetRequestHeader(&self, name: &HSTRING, value: &HSTRING) -> Result<()>

fn RetrieveFeedAsync( &self, uri: Ref<'_, Uri>, ) -> Result<IAsyncOperationWithProgress<SyndicationFeed, RetrievalProgress>>

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§