pub struct RelayedAddress {
pub ip: IpAddr,
pub port: u16,
}Expand description
RelayedAddress implements XOR-RELAYED-ADDRESS attribute.
It specifies the address and port that the server allocated to the
client. It is encoded in the same way as XOR-MAPPED-ADDRESS.
Fields§
§ip: IpAddr§port: u16Trait Implementations§
Source§impl Debug for RelayedAddress
impl Debug for RelayedAddress
Source§impl Default for RelayedAddress
impl Default for RelayedAddress
Source§impl Display for RelayedAddress
impl Display for RelayedAddress
Source§impl Getter for RelayedAddress
impl Getter for RelayedAddress
Source§impl PartialEq for RelayedAddress
impl PartialEq for RelayedAddress
Source§impl Setter for RelayedAddress
impl Setter for RelayedAddress
impl Eq for RelayedAddress
impl StructuralPartialEq for RelayedAddress
Auto Trait Implementations§
impl Freeze for RelayedAddress
impl RefUnwindSafe for RelayedAddress
impl Send for RelayedAddress
impl Sync for RelayedAddress
impl Unpin for RelayedAddress
impl UnwindSafe for RelayedAddress
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