Enum diffusion::Error
[−]
[src]
pub enum Error {
CorruptSegmentHeader,
CorruptMsgHeader,
InsufficientLength(usize),
IoError(ErrorKind),
}represents errors that can be encountered during the usage of of reader and writer.
Variants
CorruptSegmentHeader | indicates corruption when initializing the reader. This can only happens in a file. |
CorruptMsgHeader | indicates corruption when reading a message. This can only happens in a file. |
InsufficientLength | indicates possibily a curruption. |
IoError | indicates there is an IO error happening during reading or writing. This can happen in all transport types. |