Enum sc2::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Organelle(ErrorKind), Io(Error), UrlParseError(ParseError), Protobuf(ProtobufError), ExeNotSpecified, ExeDoesNotExist(PathBuf), ClientOpenFailed, ClientSendFailed, ClientRecvFailed, ClientCloseFailed, GameErrors(Vec<String>), AgentError, InvalidProtobuf(String), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Organelle(ErrorKind)
organelle glue
Io(Error)
link io errors
UrlParseError(ParseError)
link to url parse errors
Protobuf(ProtobufError)
link to protobuf errors
ExeNotSpecified
exe was not supplied to the coordinator
ExeDoesNotExist(PathBuf)
exe supplied to the coordinator does not exist
ClientOpenFailed
client failed to open connection to the game instance
ClientSendFailed
client failed to send a message to the game instance
ClientRecvFailed
client failed to receive a message from the game instance
ClientCloseFailed
client failed to initiate close handshake
GameErrors(Vec<String>)
errors received from game instance
AgentError
an error occurred in agent callback
InvalidProtobuf(String)
invalid protobuf data from game instance
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for ErrorKind
impl Display for ErrorKind
impl From<ErrorKind> for ErrorKind
organelle glue