protocolType Alias SendError
source pub type SendError = Error<Error>;
enum SendError {
Io(Error),
Value(String),
}
An error occurred while writing bytes
Contains the underlying error reaturned while writing.
An error indicating a value that cannot be serialized
Contains a description of the problem.