Enum tor_netdoc::doc::routerdesc::RelayPlatform [−][src]
#[non_exhaustive] pub enum RelayPlatform { Tor(TorVersion, String), Other(String), }
Expand description
Description of the software a relay is running.
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.
Tor(TorVersion, String)
Software advertised to be some version of Tor, on some platform.
Other(String)
Software not advertised to be Tor.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RelayPlatform
impl Send for RelayPlatform
impl Sync for RelayPlatform
impl Unpin for RelayPlatform
impl UnwindSafe for RelayPlatform
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V