Struct rustun::types::SocketAddrValue [] [src]

pub struct SocketAddrValue(_);

Socket address used as STUN attribute value.

Methods

impl SocketAddrValue
[src]

Makes a new SocketAddrValue instance.

Returns the socket address of this instance.

Applies XOR operation on the socket address of this instance.

Reads a SocketAddrValue instance from reader.

Writes the socket address of this instance to writer.

Trait Implementations

impl Debug for SocketAddrValue
[src]

Formats the value using the given formatter.

impl Clone for SocketAddrValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SocketAddrValue
[src]

impl PartialEq for SocketAddrValue
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SocketAddrValue
[src]