Method lrs::socket::Socket::ipv6_mtu

Retrieves the MTU of this socket.

Syntax

impl Socket {
    fn ipv6_mtu(&self) -> Result<u32, Errno>
}

Return value

Returns the MTU of this socket.

Remarks

Only valid for connected sockets.

See also