Trait windows::Win32::Networking::BackgroundIntelligentTransferService::IBitsPeerCacheAdministration_Impl
pub trait IBitsPeerCacheAdministration_Impl: Sized {
Show 14 methods
// Required methods
fn GetMaximumCacheSize(&self) -> Result<u32>;
fn SetMaximumCacheSize(&self, bytes: u32) -> Result<()>;
fn GetMaximumContentAge(&self) -> Result<u32>;
fn SetMaximumContentAge(&self, seconds: u32) -> HRESULT;
fn GetConfigurationFlags(&self) -> Result<u32>;
fn SetConfigurationFlags(&self, flags: u32) -> Result<()>;
fn EnumRecords(&self) -> Result<IEnumBitsPeerCacheRecords>;
fn GetRecord(&self, id: *const GUID) -> Result<IBitsPeerCacheRecord>;
fn ClearRecords(&self) -> Result<()>;
fn DeleteRecord(&self, id: *const GUID) -> Result<()>;
fn DeleteUrl(&self, url: &PCWSTR) -> Result<()>;
fn EnumPeers(&self) -> Result<IEnumBitsPeers>;
fn ClearPeers(&self) -> Result<()>;
fn DiscoverPeers(&self) -> Result<()>;
}
Required Methods§
fn GetMaximumCacheSize(&self) -> Result<u32>
fn SetMaximumCacheSize(&self, bytes: u32) -> Result<()>
fn GetMaximumContentAge(&self) -> Result<u32>
fn SetMaximumContentAge(&self, seconds: u32) -> HRESULT
fn GetConfigurationFlags(&self) -> Result<u32>
fn SetConfigurationFlags(&self, flags: u32) -> Result<()>
fn EnumRecords(&self) -> Result<IEnumBitsPeerCacheRecords>
fn GetRecord(&self, id: *const GUID) -> Result<IBitsPeerCacheRecord>
fn ClearRecords(&self) -> Result<()>
fn DeleteRecord(&self, id: *const GUID) -> Result<()>
fn DeleteUrl(&self, url: &PCWSTR) -> Result<()>
fn EnumPeers(&self) -> Result<IEnumBitsPeers>
fn ClearPeers(&self) -> Result<()>
fn DiscoverPeers(&self) -> Result<()>
Object Safety§
This trait is not object safe.