pub trait RepoFile:
Serialize
+ DeserializeOwned
+ Sized
+ Send
+ Sync
+ 'static {
type Id: RepoId;
const TYPE: FileType;
const ENCRYPTED: bool = true;
}Expand description
Marker trait for repository files which are stored as JSON
Required Associated Constants§
Provided Associated Constants§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.