pub trait ProjectReferenceCache {
// Required methods
fn list(
&self,
) -> impl Future<Output = Result<HashSet<String>, SkootError>> + Send;
fn get(
&mut self,
repo_url: String,
) -> impl Future<Output = Result<InitializedProject, SkootError>> + Send;
fn set(
&mut self,
repo_url: String,
) -> impl Future<Output = Result<(), SkootError>> + Send;
fn delete(
&mut self,
repo_url: String,
) -> impl Future<Output = Result<(), SkootError>> + Send;
}Required Methods§
fn list( &self, ) -> impl Future<Output = Result<HashSet<String>, SkootError>> + Send
fn get( &mut self, repo_url: String, ) -> impl Future<Output = Result<InitializedProject, SkootError>> + Send
fn set( &mut self, repo_url: String, ) -> impl Future<Output = Result<(), SkootError>> + Send
fn delete( &mut self, repo_url: String, ) -> impl Future<Output = Result<(), SkootError>> + Send
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.