pub enum ErrorKind {
Show 15 variants
XmlRpc(ErrorKind),
Tcpros(ErrorKind),
Naming(ErrorKind),
Io(Error),
FromUTF8(FromUtf8Error),
Response(ResponseError),
SigintOverride(Error),
Msg(String),
Duplicate(String),
MismatchedType(String, String, String),
MultipleInitialization,
TimeoutError,
BadYamlData(String),
CannotResolveName(String),
CommunicationIssue(String),
// some variants omitted
}Expand description
The kind of an error.
Variants
XmlRpc(ErrorKind)
Tcpros(ErrorKind)
Naming(ErrorKind)
Io(Error)
FromUTF8(FromUtf8Error)
Response(ResponseError)
SigintOverride(Error)
Msg(String)
A convenient variant for String.
Duplicate(String)
MismatchedType(String, String, String)
MultipleInitialization
TimeoutError
BadYamlData(String)
CannotResolveName(String)
CommunicationIssue(String)
Implementations
sourceimpl ErrorKind
impl ErrorKind
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl !Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more