Enum tls_codec::Error [−][src]
pub enum Error { EncodingError, InvalidVectorLength, InvalidInput, DecodingError(String), EndOfStream, }
Expand description
Errors that are thrown by this crate.
Variants
An error occurred during encoding.
The length of a vector is invalid.
Invalid input when trying to decode a primitive integer.
DecodingError(String)
An error occurred during decoding.
Reached the end of a byte stream.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more