pub struct Icmpv6TransportChannelIterator<'a> { /* private fields */ }
Expand description
An iterator over packets of type Icmpv6Packet
.
Implementations§
source§impl<'a> Icmpv6TransportChannelIterator<'a>
impl<'a> Icmpv6TransportChannelIterator<'a>
sourcepub fn next(&mut self) -> Result<(Icmpv6Packet<'_>, IpAddr)>
pub fn next(&mut self) -> Result<(Icmpv6Packet<'_>, IpAddr)>
Get the next (Icmpv6Packet
, IpAddr
) pair for the given channel.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Icmpv6TransportChannelIterator<'a>
impl<'a> Send for Icmpv6TransportChannelIterator<'a>
impl<'a> Sync for Icmpv6TransportChannelIterator<'a>
impl<'a> Unpin for Icmpv6TransportChannelIterator<'a>
impl<'a> !UnwindSafe for Icmpv6TransportChannelIterator<'a>
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