Enum async_psec::PsecError [−][src]
pub enum PsecError { BrokenPipe, ConnectionReset, TransmissionCorrupted, BufferTooLarge, UnexpectedEof, IoError { error_kind: ErrorKind, }, BadPadding, }
Expand description
Errors that can be returned by PSEC operations.
Variants
The operation failed because a pipe was closed.
The connection was reset by the remote peer.
Authentication error. It often means that the AES GCM tag was invalid during a decryption operation.
The received buffer was too large and was discarded to prevent DOS attacks.
Failed to read the desired amout of bytes.
An unknown error occurred while reading or writing to the underlying TcpStream
.
The plain text was not properly padded.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PsecError
impl UnwindSafe for PsecError