You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mediarepo/mediarepo-daemon/mediarepo-model/src/type_keys.rs

10 lines
154 B
Rust

use crate::repo::Repo;
use std::sync::Arc;
use typemap_rev::TypeMapKey;
pub struct RepoKey;
impl TypeMapKey for RepoKey {
type Value = Arc<Repo>;
}