pub struct PeerAddress {
pub ip: IpAddr,
pub port: u16,
}Expand description
PeerAddress implements XOR-PEER-ADDRESS attribute.
The XOR-PEER-ADDRESS specifies the address and port of the peer as
seen from the TURN server. (For example, the peer’s server-reflexive
transport address if the peer is behind a NAT.)
Fields§
§ip: IpAddr§port: u16Trait Implementations§
Source§impl Debug for PeerAddress
impl Debug for PeerAddress
Source§impl Default for PeerAddress
impl Default for PeerAddress
Source§impl Display for PeerAddress
impl Display for PeerAddress
Source§impl Getter for PeerAddress
impl Getter for PeerAddress
Source§impl PartialEq for PeerAddress
impl PartialEq for PeerAddress
Source§impl Setter for PeerAddress
impl Setter for PeerAddress
impl Eq for PeerAddress
impl StructuralPartialEq for PeerAddress
Auto Trait Implementations§
impl Freeze for PeerAddress
impl RefUnwindSafe for PeerAddress
impl Send for PeerAddress
impl Sync for PeerAddress
impl Unpin for PeerAddress
impl UnwindSafe for PeerAddress
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