pub trait UserInterfaceTableRO {
// Required methods
fn get(
&self,
id: &EntityId,
) -> Result<Option<UserInterface>, RepositoryError>;
fn get_multi(
&self,
ids: &[EntityId],
) -> Result<Vec<Option<UserInterface>>, RepositoryError>;
fn get_all(&self) -> Result<Vec<UserInterface>, RepositoryError>;
}Required Methods§
fn get(&self, id: &EntityId) -> Result<Option<UserInterface>, RepositoryError>
fn get_multi( &self, ids: &[EntityId], ) -> Result<Vec<Option<UserInterface>>, RepositoryError>
fn get_all(&self) -> Result<Vec<UserInterface>, RepositoryError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".