Enum tor_linkspec::TransportIdError
source · #[non_exhaustive]
pub enum TransportIdError {
NoSupport,
BadId(String),
}Expand description
An error related to parsing a TransportId.
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.
NoSupport
Arti was compiled without client-side pluggable transport support, and we tried to use a pluggable transport.
BadId(String)
Tried to parse a pluggable transport whose name was not well-formed.
Trait Implementations§
source§impl Clone for TransportIdError
impl Clone for TransportIdError
source§fn clone(&self) -> TransportIdError
fn clone(&self) -> TransportIdError
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 moresource§impl Debug for TransportIdError
impl Debug for TransportIdError
source§impl Display for TransportIdError
impl Display for TransportIdError
source§impl Error for TransportIdError
impl Error for TransportIdError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()