Struct routinator::payload::SnapshotArcRouterKeyIter
source · pub struct SnapshotArcRouterKeyIter { /* private fields */ }
Expand description
An iterator over the router keys in a shared snapshot.
Implementations§
source§impl SnapshotArcRouterKeyIter
impl SnapshotArcRouterKeyIter
sourcepub fn next_with_info(&mut self) -> Option<(&RouterKey, &PayloadInfo)>
pub fn next_with_info(&mut self) -> Option<(&RouterKey, &PayloadInfo)>
Returns the next item and its information.
Trait Implementations§
source§impl Clone for SnapshotArcRouterKeyIter
impl Clone for SnapshotArcRouterKeyIter
source§fn clone(&self) -> SnapshotArcRouterKeyIter
fn clone(&self) -> SnapshotArcRouterKeyIter
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 moreAuto Trait Implementations§
impl RefUnwindSafe for SnapshotArcRouterKeyIter
impl Send for SnapshotArcRouterKeyIter
impl Sync for SnapshotArcRouterKeyIter
impl Unpin for SnapshotArcRouterKeyIter
impl UnwindSafe for SnapshotArcRouterKeyIter
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