CacheStoreResult
public struct CacheStoreResult
Represents the caching operation result.
-
The cache result for memory cache. Caching an image to memory will never fail.
Declaration
Swift
public let memoryCacheResult: Result<(), Never>
-
The cache result for disk cache. If an error happens during caching operation, you can get it from
.failure
case of thisdiskCacheResult
.Declaration
Swift
public let diskCacheResult: Result<(), KingfisherError>