[][src]Trait uikit_sys::INSURLCache

pub trait INSURLCache: Sized + Deref {
    unsafe fn initWithMemoryCapacity_diskCapacity_diskPath_(
        self,
        memoryCapacity: NSUInteger,
        diskCapacity: NSUInteger,
        path: NSString
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithMemoryCapacity_diskCapacity_directoryURL_(
        self,
        memoryCapacity: NSUInteger,
        diskCapacity: NSUInteger,
        directoryURL: NSURL
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cachedResponseForRequest_(
        self,
        request: NSURLRequest
    ) -> NSCachedURLResponse
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn storeCachedResponse_forRequest_(
        self,
        cachedResponse: NSCachedURLResponse,
        request: NSURLRequest
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeCachedResponseForRequest_(self, request: NSURLRequest)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeAllCachedResponses(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeCachedResponsesSinceDate_(self, date: NSDate)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn memoryCapacity(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setMemoryCapacity_(self, memoryCapacity: NSUInteger)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn diskCapacity(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDiskCapacity_(self, diskCapacity: NSUInteger)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentMemoryUsage(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentDiskUsage(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sharedURLCache() -> NSURLCache
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSharedURLCache_(sharedURLCache: NSURLCache)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithMemoryCapacity_diskCapacity_diskPath_(
    self,
    memoryCapacity: NSUInteger,
    diskCapacity: NSUInteger,
    path: NSString
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithMemoryCapacity_diskCapacity_directoryURL_(
    self,
    memoryCapacity: NSUInteger,
    diskCapacity: NSUInteger,
    directoryURL: NSURL
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn cachedResponseForRequest_(
    self,
    request: NSURLRequest
) -> NSCachedURLResponse where
    Self::Target: Message + Sized

unsafe fn storeCachedResponse_forRequest_(
    self,
    cachedResponse: NSCachedURLResponse,
    request: NSURLRequest
) where
    Self::Target: Message + Sized

unsafe fn removeCachedResponseForRequest_(self, request: NSURLRequest) where
    Self::Target: Message + Sized

unsafe fn removeAllCachedResponses(self) where
    Self::Target: Message + Sized

unsafe fn removeCachedResponsesSinceDate_(self, date: NSDate) where
    Self::Target: Message + Sized

unsafe fn memoryCapacity(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn setMemoryCapacity_(self, memoryCapacity: NSUInteger) where
    Self::Target: Message + Sized

unsafe fn diskCapacity(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn setDiskCapacity_(self, diskCapacity: NSUInteger) where
    Self::Target: Message + Sized

unsafe fn currentMemoryUsage(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn currentDiskUsage(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn sharedURLCache() -> NSURLCache where
    Self::Target: Message + Sized

unsafe fn setSharedURLCache_(sharedURLCache: NSURLCache) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSURLCache for NSURLCache[src]

Loading content...