pub struct MappedAddress {
pub ip: IpAddr,
pub port: u16,
}
Expand description
MappedAddress represents MAPPED-ADDRESS attribute.
This attribute is used only by servers for achieving backwards compatibility with RFC 3489 clients.
RFC 5389 Section 15.1
Fields§
§ip: IpAddr
§port: u16
Implementations§
Source§impl MappedAddress
impl MappedAddress
Trait Implementations§
Source§impl Default for MappedAddress
impl Default for MappedAddress
Source§impl Display for MappedAddress
impl Display for MappedAddress
Source§impl Getter for MappedAddress
impl Getter for MappedAddress
Auto Trait Implementations§
impl Freeze for MappedAddress
impl RefUnwindSafe for MappedAddress
impl Send for MappedAddress
impl Sync for MappedAddress
impl Unpin for MappedAddress
impl UnwindSafe for MappedAddress
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