18 lines
275 B
Rust
18 lines
275 B
Rust
|
|
use crate::query;
|
||
|
|
|
||
|
|
#[derive(Clone)]
|
||
|
|
pub struct List;
|
||
|
|
|
||
|
|
impl query::QueryFn for List {
|
||
|
|
type Data = ();
|
||
|
|
type Error = ();
|
||
|
|
|
||
|
|
fn key(&self) -> &'static str {
|
||
|
|
"repo.list"
|
||
|
|
}
|
||
|
|
|
||
|
|
async fn run(&self) -> Result<Self::Data, Self::Error> {
|
||
|
|
todo!()
|
||
|
|
}
|
||
|
|
}
|