wtx 0.52.0

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Net error
#[derive(Debug, Clone, Copy)]
pub enum NetError {
  /// Connections should gracefully stop but the peer unexpectedly closed by stream.
  AbruptDisconnect,
  /// External actor sent a payload greater than the maximum capacity
  CapacityOverflow,
  /// The instance is configured to prevent the removal of contents
  ForbiddenClear,
  /// Nothing can resolve a domain into sockets.
  NoResolutionBackend,
  /// Unexpected end of file when reading from a stream.
  UnexpectedStreamReadEOF,
  /// Unexpected end of file when writing to a stream.
  UnexpectedStreamWriteEOF,
  /// It is not possible to write more than 8 slices at once.
  VectoredWriteOverflow,
}