Kingfisher Documentation

Structure Cache​Store​Result

public struct CacheStoreResult  

Represents the caching operation result.



public let memoryCacheResult: Result<(), Never>

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


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.