tor-general-addr 0.28.0

Generalized socket address type used by Tor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# tor-general-addr

Generalized address type used within Arti

## Overview

This crate provides a generalization 
of [`std::net::SocketAddr`] and [`std::os::unix::net::SocketAddr`]
for cases where an application to needs to bind or connect
to both of them interchangeably.

It also provides a stub, uninhabited version of
[`std::os::unix::net::SocketAddr`] for platforms that lack it.

----

License: MIT OR Apache-2.0