Files
imphnen-backend-service/imphnen-utils/src/crud.rs
T

9 lines
230 B
Rust
Raw Normal View History

2025-05-17 02:08:59 +07:00
pub trait Crud<T, Args> {
fn list(&self, _args: Args) -> T {
unimplemented!("list() is not implemented for this type")
}
fn detail(&self, _args: Args) -> T {
unimplemented!("detail() is not implemented for this type")
}
}