pub struct MappedSessionPort {
pub id: u64,
pub external_ip: Ipv4Addr,
pub external_port: u16,
pub internal_port: u16,
pub lease: Duration,
}Expand description
A granted external mapping for one ICE session socket.
Fields§
§id: u64Provider-assigned mapping id (used to unmap).
external_ip: Ipv4AddrExternal IPv4 advertised as srflx.
external_port: u16External UDP port.
internal_port: u16Internal UDP port that must match the session socket.
lease: DurationLease duration; zero leases are rejected.
Auto Trait Implementations§
impl Forget for MappedSessionPort
impl Freeze for MappedSessionPort
impl Move for MappedSessionPort
impl RefUnwindSafe for MappedSessionPort
impl Send for MappedSessionPort
impl Sync for MappedSessionPort
impl Unpin for MappedSessionPort
impl UnsafeUnpin for MappedSessionPort
impl UnwindSafe for MappedSessionPort
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