doc: update documentation of catalog.list method

This commit is contained in:
2026-02-27 10:45:52 +01:00
parent 68c6ca4e9f
commit dcfa4dee4b

View File

@@ -9,12 +9,9 @@ impl Catalog {
/// ///
/// # Returns /// # Returns
/// ///
/// A `Result` containing a `Vec` of `Result<T, FailedTo>>`. Each inner `Result` /// A `Result` containing a `Vec<T>` of entities that were successfully
/// represents the outcome of converting an entity to type `T`. /// converted to type `T`. Entities that fail conversion are silently
/// /// skipped and not included in the returned vector.
/// - `Ok(Vec<Ok(T)>)`: A vector of successfully converted entities.
/// - `Ok(Vec<Err(FailedTo::ConvertEntity)>)`: If an entity of the correct class
/// could not be converted to type `T`.
/// ///
/// # Errors /// # Errors
/// ///