pub trait DescriptorChainIter {
// Required methods
fn next(&mut self) -> Result<Option<Descriptor>>;
fn count(&self) -> u16;
fn id(&self) -> Option<u16>;
}Expand description
Iterator over the descriptors of a descriptor chain.
Required Methods§
Sourcefn next(&mut self) -> Result<Option<Descriptor>>
fn next(&mut self) -> Result<Option<Descriptor>>
Return the next descriptor in the chain, or None if there are no more descriptors.