Struct IXFeed
pub struct IXFeed(/* private fields */);
Implementations§
§impl IXFeed
impl IXFeed
pub unsafe fn Xml( &self, uiitemcount: u32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS, ) -> Result<IStream>
pub unsafe fn Name(&self) -> Result<PWSTR>
pub unsafe fn Rename<P0>(&self, pszname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn Url(&self) -> Result<PWSTR>
pub unsafe fn SetUrl<P0>(&self, pszurl: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn LocalId(&self) -> Result<GUID>
pub unsafe fn Path(&self) -> Result<PWSTR>
pub unsafe fn Move<P0>(&self, pszpath: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn Parent<T>(&self) -> Result<T>where
T: Interface,
pub unsafe fn LastWriteTime(&self) -> Result<SYSTEMTIME>
pub unsafe fn Delete(&self) -> Result<()>
pub unsafe fn Download(&self) -> Result<()>
pub unsafe fn AsyncDownload(&self) -> Result<()>
pub unsafe fn CancelAsyncDownload(&self) -> Result<()>
pub unsafe fn SyncSetting(&self) -> Result<FEEDS_SYNC_SETTING>
pub unsafe fn SetSyncSetting(&self, fss: FEEDS_SYNC_SETTING) -> Result<()>
pub unsafe fn Interval(&self) -> Result<u32>
pub unsafe fn SetInterval(&self, uiinterval: u32) -> Result<()>
pub unsafe fn LastDownloadTime(&self) -> Result<SYSTEMTIME>
pub unsafe fn LocalEnclosurePath(&self) -> Result<PWSTR>
pub unsafe fn Items(&self) -> Result<IXFeedsEnum>
pub unsafe fn GetItem<T>(&self, uiid: u32) -> Result<T>where
T: Interface,
pub unsafe fn MarkAllItemsRead(&self) -> Result<()>
pub unsafe fn MaxItemCount(&self) -> Result<u32>
pub unsafe fn SetMaxItemCount(&self, uimaxitemcount: u32) -> Result<()>
pub unsafe fn DownloadEnclosuresAutomatically(&self) -> Result<BOOL>
pub unsafe fn SetDownloadEnclosuresAutomatically( &self, bdownloadenclosuresautomatically: bool, ) -> Result<()>
pub unsafe fn DownloadStatus(&self) -> Result<FEEDS_DOWNLOAD_STATUS>
pub unsafe fn LastDownloadError(&self) -> Result<FEEDS_DOWNLOAD_ERROR>
pub unsafe fn Merge<P0, P1>(&self, pstream: P0, pszurl: P1) -> Result<()>where
P0: Param<IStream>,
P1: Param<PCWSTR>,
pub unsafe fn DownloadUrl(&self) -> Result<PWSTR>
pub unsafe fn Title(&self) -> Result<PWSTR>
pub unsafe fn Description(&self) -> Result<PWSTR>
pub unsafe fn Link(&self) -> Result<PWSTR>
pub unsafe fn Image(&self) -> Result<PWSTR>
pub unsafe fn LastBuildDate(&self) -> Result<SYSTEMTIME>
pub unsafe fn PubDate(&self) -> Result<SYSTEMTIME>
pub unsafe fn Ttl(&self) -> Result<u32>
pub unsafe fn Language(&self) -> Result<PWSTR>
pub unsafe fn Copyright(&self) -> Result<PWSTR>
pub unsafe fn IsList(&self) -> Result<BOOL>
pub unsafe fn GetWatcher<T>(
&self,
scope: FEEDS_EVENTS_SCOPE,
mask: FEEDS_EVENTS_MASK,
) -> Result<T>where
T: Interface,
pub unsafe fn UnreadItemCount(&self) -> Result<u32>
pub unsafe fn ItemCount(&self) -> Result<u32>
Trait Implementations§
§impl Interface for IXFeed
impl Interface for IXFeed
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.impl Eq for IXFeed
impl StructuralPartialEq for IXFeed
Auto Trait Implementations§
impl Freeze for IXFeed
impl RefUnwindSafe for IXFeed
impl !Send for IXFeed
impl !Sync for IXFeed
impl Unpin for IXFeed
impl UnwindSafe for IXFeed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more