#[non_exhaustive]pub enum PtError {
Show 17 variants
Timeout,
ClientTransportsUnsupported(Vec<String>),
TransportGaveError {
transport: String,
message: String,
},
ChildProtocolViolation(String),
ProtocolViolation(String),
UnsupportedVersion,
ProxyError(String),
ChildGone,
ChildReadFailed(Arc<Error>),
ChildSpawnFailed {
path: PathBuf,
error: Arc<Error>,
},
IpcParseFailed {
line: String,
error: String,
},
StatedirCreateFailed {
path: PathBuf,
error: Arc<Error>,
},
PathExpansionFailed {
path: CfgPath,
error: CfgPathError,
},
NotAFile {
path: PathBuf,
},
Spawn {
cause: Arc<SpawnError>,
},
UnconfiguredTransportDueToConcurrentReconfiguration,
Internal(Bug),
}Expand description
An error spawning or managing a pluggable transport.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Timeout
We failed to launch a set of pluggable transports in the provided deadline.
ClientTransportsUnsupported(Vec<String>)
A PT binary does not support a set of pluggable transports.
TransportGaveError
A PT binary failed to launch a pluggable transport, and reported an error message.
ChildProtocolViolation(String)
A pluggable transport binary failed to understand us.
ProtocolViolation(String)
A pluggable transport binary violated the protocol.
UnsupportedVersion
A pluggable transport binary doesn’t support version 1 of the IPC protocol.
ProxyError(String)
A pluggable transport binary couldn’t use the provided proxy URI.
ChildGone
A pluggable transport binary quit or was stopped.
ChildReadFailed(Arc<Error>)
An error was encountered communicating with a pluggable transport binary. The PT is no longer usable.
ChildSpawnFailed
We couldn’t spawn a pluggable transport binary as a child process.
IpcParseFailed
We failed to parse something a pluggable transport sent us.
StatedirCreateFailed
We couldn’t create a state directory.
PathExpansionFailed
We couldn’t expand a path.
NotAFile
A binary path does not have the syntax of a file name.
For example, it ends in a slash, indicating a directory.
Spawn
Unable to spawn reactor task.
UnconfiguredTransportDueToConcurrentReconfiguration
The requested transport was found to be missing due to racing with reconfiguration
Internal(Bug)
The pluggable transport reactor failed.