Kingfisher Documentation

Structure Cache​Store​Result

public struct CacheStoreResult  

Represents the caching operation result.

Properties

memory​Cache​Result

public let memoryCacheResult: Result<(), Never>

The cache result for memory cache. Caching an image to memory will never fail.

disk​Cache​Result

public let diskCacheResult: Result<(), KingfisherError>

The cache result for disk cache. If an error happens during caching operation, you can get it from .failure case of this diskCacheResult.