Struct routinator::payload::SnapshotArcIter
source · pub struct SnapshotArcIter { /* private fields */ }
Expand description
An iterator over the VRPs of a shared snapshot.
Implementations§
source§impl SnapshotArcIter
impl SnapshotArcIter
sourcepub fn next_with_info(&mut self) -> Option<(PayloadRef<'_>, &PayloadInfo)>
pub fn next_with_info(&mut self) -> Option<(PayloadRef<'_>, &PayloadInfo)>
Returns the next item and its information.
Trait Implementations§
source§impl Clone for SnapshotArcIter
impl Clone for SnapshotArcIter
source§fn clone(&self) -> SnapshotArcIter
fn clone(&self) -> SnapshotArcIter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SnapshotArcIter
impl Debug for SnapshotArcIter
source§impl PayloadSet for SnapshotArcIter
impl PayloadSet for SnapshotArcIter
source§fn next(&mut self) -> Option<PayloadRef<'_>>
fn next(&mut self) -> Option<PayloadRef<'_>>
Returns the next element in the payload set.
Auto Trait Implementations§
impl RefUnwindSafe for SnapshotArcIter
impl Send for SnapshotArcIter
impl Sync for SnapshotArcIter
impl Unpin for SnapshotArcIter
impl UnwindSafe for SnapshotArcIter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more