pub trait RepeatingGroup: Sized {
type Entry;
// Required methods
fn len(&self) -> usize;
fn is_empty(&self) -> bool;
fn get(&self, i: usize) -> Option<Self::Entry>;
// Provided method
fn entries(&self) -> GroupEntries<'_, Self> ⓘ { ... }
}
Expand description
Provides access to entries within a FIX repeating group.
Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn entries(&self) -> GroupEntries<'_, Self> ⓘ
fn entries(&self) -> GroupEntries<'_, Self> ⓘ
Creates and returns an Iterator
over the entries in self
.
Iteration MUST be done in sequential order, i.e. in which they appear in
the original FIX message.
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.