Skip to main content

exec

Function exec 

Source
fn exec<Req, Ans>(
    store: &Store,
    wan: &WanIdentityStore,
    machine: &str,
    pinned_since: Option<i64>,
    req: Req,
    run: impl FnOnce(&mut Ctx<'_>, &str, Req) -> Result<Ans, OpError>,
) -> Result<Ans, RemoteRefusal>