pub trait TcpError: Debug {
// Required method
fn kind(&self) -> TcpErrorKind;
}
Expand description
Methods to resolve errors into identifiable, actionable codes on the client side.
Required Methods§
Sourcefn kind(&self) -> TcpErrorKind
fn kind(&self) -> TcpErrorKind
Determines the kind of error that occurred.