pub struct StunConfig {
pub bind_addr: SocketAddr,
}
Available on crate feature
iroh-relay
only.Expand description
Configuration for the STUN server.
Fields§
§bind_addr: SocketAddr
The socket address on which the STUN server should bind.
Normally you’d chose port 3478
, see crate::defaults::DEFAULT_STUN_PORT
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StunConfig
impl RefUnwindSafe for StunConfig
impl Send for StunConfig
impl Sync for StunConfig
impl Unpin for StunConfig
impl UnwindSafe for StunConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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