Skip to main content

describe

Function describe 

Source
pub async fn describe<R: Runner>(
    runner: &R,
    link: &Link,
) -> Result<Described, String>
Expand description

Reads the listing entry of the secret link names. A secret that isn’t there, where this login can read the secrets, fails with NO_SUCH_SECRET; a “not found” where it can’t fails with CANT_READ. The two are told apart by asking for the collection, and by each answer’s status code, never by its text: the collection’s answer is dropped unread. Of the secret’s entry only the day it was last updated is kept.