protocol

Type Alias SendError

source
pub type SendError = Error<Error>;

Aliased Type§

enum SendError {
    Io(Error),
    Value(String),
}

Variants§

§

Io(Error)

An error occurred while writing bytes

Contains the underlying error reaturned while writing.

§

Value(String)

An error indicating a value that cannot be serialized

Contains a description of the problem.