Enum tor_proto::circuit::handshake::RelayProtocol
source · #[non_exhaustive]
pub enum RelayProtocol {
HsV3,
}Available on crate feature
hs-common only.Expand description
The relay protocol to use when extending a circuit manually with
Circuit::extend_virtual.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HsV3
A variation of Tor’s original protocol, using AES-256 and SHA-3.
Trait Implementations§
source§impl Clone for RelayProtocol
impl Clone for RelayProtocol
source§fn clone(&self) -> RelayProtocol
fn clone(&self) -> RelayProtocol
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more