pub struct AutoInterfaceProtocol<S> { /* private fields */ }Implementations§
Source§impl<S> AutoInterfaceProtocol<S>
impl<S> AutoInterfaceProtocol<S>
pub fn new(our_mac_address: MacAddress) -> AutoInterfaceProtocol<S>
pub fn from_link_local(our_link_local: Ipv6Addr) -> AutoInterfaceProtocol<S>
pub fn from_link_local_with_group( our_link_local: Ipv6Addr, group_id: &[u8], ) -> AutoInterfaceProtocol<S>
pub fn our_link_local(&self) -> Ipv6Addr
pub fn our_peering_token(&self) -> &PeeringToken
pub fn ingest_discovery_datagram( &mut self, src: Ipv6Addr, bytes: &[u8], now_ms: u64, ) -> BeaconVerdict
pub fn prune_stale_peers(&mut self, now_ms: u64) -> usize
pub fn known_peer_addresses(&self) -> impl Iterator<Item = Ipv6Addr>
pub fn peer_count(&self) -> usize
pub fn auth_failures(&self) -> u32
Auto Trait Implementations§
impl<S> Freeze for AutoInterfaceProtocol<S>where
S: Freeze,
impl<S> RefUnwindSafe for AutoInterfaceProtocol<S>where
S: RefUnwindSafe,
impl<S> Send for AutoInterfaceProtocol<S>where
S: Send,
impl<S> Sync for AutoInterfaceProtocol<S>where
S: Sync,
impl<S> Unpin for AutoInterfaceProtocol<S>where
S: Unpin,
impl<S> UnsafeUnpin for AutoInterfaceProtocol<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for AutoInterfaceProtocol<S>where
S: UnwindSafe,
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