Skip to main content

load

Function load 

Source
pub fn load() -> Option<Receipt>
Expand description

Read the receipt, or None if there is not one worth trusting.

Every failure is a None: absent, unreadable, malformed, or written by a future version that means something different by these fields. Nothing here is load-bearing enough to be worth an error path, and a caller forced to handle one would only end up ignoring it.