Enum libp2p_upnp::Event
source · pub enum Event {
NewExternalAddr(Multiaddr),
ExpiredExternalAddr(Multiaddr),
GatewayNotFound,
NonRoutableGateway,
}
Available on crate feature
tokio
only.Expand description
The event produced by Behaviour
.
Variants§
NewExternalAddr(Multiaddr)
The multiaddress is reachable externally.
ExpiredExternalAddr(Multiaddr)
The renewal of the multiaddress on the gateway failed.
GatewayNotFound
The IGD gateway was not found.
NonRoutableGateway
The Gateway is not exposed directly to the public network.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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