(&self, ctx: &Context<'_>, id: String)
| 68 | } |
| 69 | |
| 70 | async fn link(&self, ctx: &Context<'_>, id: String) -> Result<Option<Link>> { |
| 71 | Ok(ctx |
| 72 | .data_unchecked::<Store>() |
| 73 | .fetch_link(id.try_into()?) |
| 74 | .await? |
| 75 | .map(Link::from)) |
| 76 | } |
| 77 | |
| 78 | async fn topic(&self, ctx: &Context<'_>, id: String) -> Result<Option<Topic>> { |
| 79 | Ok(ctx |
nothing calls this directly
no test coverage detected